anomalyco / anomalyco/opencode

Models get stuck on "Thinking" after a few hours

Open
#49,033 3 comments 2 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.