You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've this this a few times now running long sessions:
{"type":"error","sequence_number":2,"error":{"type":"invalid_request_error","code":"context_length_exceeded","message":"Your input exceeds the context window of this model. Please adjust your input and try again.","param":"input"}}
I'm using GPT-5.2 Codex via OpenAI OAuth. Ideally codex's auto-compation would work, but in the absence of that I thought the opencode auto compaction would run before the error is triggered. I've set this explicitly in my config:
Activity
github-actions commentedon Jan 13, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.