codex icon indicating copy to clipboard operation
codex copied to clipboard

Serious problem: sending or getting images can easily reach the context window limit

Open 812913329 opened this issue 1 year ago • 1 comments

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" ] } } }

Image Image

812913329 avatar Sep 14 '25 18:09 812913329

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.

etraut-openai avatar Dec 05 '25 19:12 etraut-openai