Serious problem: sending or getting images can easily reach the context window limit
This problem seems to occur frequently after sending or receiving multiple images, and after multiple images appear in the context window.
If no images are involved, the remaining 1% of the context window is available.
I wonder if anyone else has encountered a similar problem.
It usually occurs when using the mcp tool to take screenshots:
{ "mcpServers": { "Playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
and
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp@latest" ] } } }
Since this bug was filed, we've implemented various improvement for compaction, context window management, and image compression. I suspect it's no longer relevant, so I'm going to close. If you're still seeing this issue, let us know.