The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(computer-use): screenshot eviction fires at the provider limit, not keep-3
kshitijk4poor723e3fb9aeed
diff --git a/website/docs/user-guide/features/computer-use.md b/website/docs/user-guide/features/computer-use.mdindex b781750a8e0..27efbea742c 100644--- a/website/docs/user-guide/features/computer-use.md+++ b/website/docs/user-guide/features/computer-use.md@@ -365,9 +365,13 @@ want every action confirmed.Screenshots are expensive. Hermes applies four layers of optimisation:-- **Screenshot eviction** — the Anthropic adapter keeps only the 3 most- recent screenshots in context; older ones become `[screenshot removed- to save context]` placeholders.+- **Screenshot eviction** — on every provider, screenshots ride each+ request until it would cross Anthropic's documented per-request image+ limit (20 image blocks, or 24 MB of image data); then the oldest batch becomes+ `[screenshot removed to save context]` placeholders. Below the limit+ nothing is rewritten, so the prompt-cache prefix survives; at it, one+ slower turn per batch instead of one per screenshot. Images you attach+ yourself count against the limit but are never removed.- **Client-side compression pruning** — the context compressor detectsmultimodal tool results and strips image parts from old ones.- **Image-aware token estimation** — each image is counted as ~1500