-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Open
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)perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization
Description
Description
As of 1.2.25 I'm getting a lot more timeouts on larger context sessions with local models like 1.2.25. With default settings I got an error after 2 minutes of prompt processing on a 100k context session of SSE read timed out.
After adjusting timeouts in opencode.json to 300,000 milliseconds it improved but doing a compaction still generated a less descriptive timeout of TimeoutError: The operation timed out after 5 minutes.
I've set it to
"lmstudio": {
...
"options": {
...
"timeout": 3000000,
"chunkTimeout": 3000000
},
Which is 50 minutes which has resolved it for now. I couldn't see an obvious specific timeout in the diff between 1.2.24 and 1.2.25, but it's definitely more aggressive now and started occuring with a silent update.
Plugins
No response
OpenCode version
1.2.25
Steps to reproduce
- Open a session with a long context (100k-ish)
- Choose a local model like Qwen3.5 27b that is somewhat slow on your system
- Run
/compact - Experience timeouts
Screenshot and/or share link
No response
Operating System
Linux Mint 22.3 & Ubuntu 24.04
Terminal
Alacritty
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)perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization