Description
After approximately 5-10 conversational exchanges (sometimes as few as 2-3), OpenCode throws a "Request size exceeds model context window" error, forcing me to start a new session. I believe this started occurring in the last 1-2 days.
My typical workflow involves:
- Having OpenCode investigate/read files in the codebase
- Maintaining a markdown file with a structured plan and ordered TODO items
- Iterating on tasks based on this plan
I'm not manually attaching large files to the conversation. The context seems to accumulate rapidly from file reads and research operations until it exceeds the limit unexpectedly.
Plugins
oh-my-opencode, opencode-anthropic-auth
OpenCode version
1.34 (also occurred on 1.32)
Steps to reproduce
Steps to reproduce:
- Start a new session with Claude Code OAuth
- Create or reference a markdown file with a structured task plan
- Ask OpenCode to investigate files and make changes based on the plan
- Continue iterating for 5-10 exchanges
- Error appears, conversation cannot continue
Screenshot and/or share link
Operating System
macOS 15.6.1 (24G90) Sequoia
Terminal
iTerm
Description
After approximately 5-10 conversational exchanges (sometimes as few as 2-3), OpenCode throws a "Request size exceeds model context window" error, forcing me to start a new session. I believe this started occurring in the last 1-2 days.
My typical workflow involves:
I'm not manually attaching large files to the conversation. The context seems to accumulate rapidly from file reads and research operations until it exceeds the limit unexpectedly.
Plugins
oh-my-opencode, opencode-anthropic-auth
OpenCode version
1.34 (also occurred on 1.32)
Steps to reproduce
Steps to reproduce:
Screenshot and/or share link
Operating System
macOS 15.6.1 (24G90) Sequoia
Terminal
iTerm