anomalyco / anomalyco/opencode
Models get stuck on "Thinking" after a few hours
@rekram1-node is already working on this.
Since Sep 14, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
After using OpenCode for a few hours, any model I try gets stuck indefinitely on "Thinking".
There is no error message and the request never finishes. Switching to another model does not help.
I have not reached any usage or rate limits, so that does not seem to be the cause.
Steps to reproduce
Use OpenCode normally for a few hours.
Send a new prompt.
The model gets stuck on "Thinking".
Switching models has the same result.
Expected behavior
The model should respond normally or show an error.
Actual behavior
It stays on "Thinking" indefinitely until OpenCode is restarted.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.