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
{{ message }}
Repository navigation
Request Entity Too Large error when using GitHub Copilot model around ~70k tokens #14064
When using a GitHub Copilot model (Claude Sonnet 4.6) in OpenCode, I consistently get a "Request Entity Too Large" error once the conversation/context reaches approximately 70k tokens.
It seems like the request payload exceeds a limit, possibly due to accumulated conversation history or how the request body is being constructed.
Plugins
none
OpenCode version
1.2.6
Steps to reproduce
Select a GitHub Copilot model (Claude Sonnet 4.6).
Start a normal conversation and keep interacting.
Allow the context to grow (large conversation history).
Once the total context reaches approximately ~70k tokens, send another message.
The request fails with "Request Entity Too Large".
These issues share similar symptoms of request payload size limits being exceeded. Please verify if this is a distinct issue or if it relates to one of the above.
Activity
github-actions commentedon Feb 18, 2026
This issue might be a duplicate of existing issues related to "Request Entity Too Large" errors. Please check:
These issues share similar symptoms of request payload size limits being exceeded. Please verify if this is a distinct issue or if it relates to one of the above.
cesarfr2002 commentedon Feb 18, 2026
Confirmed this is a duplicate of #6574. Closing.