-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed as duplicate of#6574
Closed as duplicate of#6574
Copy link
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
Description
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".
Screenshot and/or share link
Operating System
Cachyos 6.19.0-2
Terminal
kitty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)