Seems to freeze on "working..." with no changes #1617

Closed
opened 2026-02-16 17:31:46 -05:00 by yindo · 7 comments
Owner

Originally created by @haltingstate on GitHub (Sep 5, 2025).

Originally assigned to: @thdxr on GitHub.

v0.6.4

It says "Working..." forever.

esc and double esc do nothing.

just togles.


I need a token counter, like claude code has, to know if the llm stopped or is frozen. I am getting nothing

claude code has live token counter, so I know its not fronzen.


Verbose mode

  • must show tokens in session (received), like claude code in verbose mode
  • or we dont know when LLM stopped
Originally created by @haltingstate on GitHub (Sep 5, 2025). Originally assigned to: @thdxr on GitHub. v0.6.4 It says "Working..." forever. esc and double esc do nothing. just togles. --- I need a token counter, like claude code has, to know if the llm stopped or is frozen. I am getting nothing claude code has live token counter, so I know its not fronzen. --- Verbose mode - must show tokens in session (received), like claude code in verbose mode - or we dont know when LLM stopped
yindo closed this issue 2026-02-16 17:31:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 5, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2437: OC hanging specifically at commit requests with similar freezing behavior and ESC not working
  • #2406: Opencode hanging on node 20 with similar symptoms after opening a port
  • #2394: Opencode command hanging (closed but similar freezing behavior)
  • #2137: Message generation stuck at 'Generating' with interruption issues
  • #2210: Hanging with 'opencode run' command in CLI mode
  • #2351: Context counter not showing real usage (related to the token counter request)

The freezing on 'Working...' with ESC not responding appears to be a recurring issue across multiple versions and environments.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 5, 2025): This issue might be a duplicate of existing issues. Please check: - #2437: OC hanging specifically at commit requests with similar freezing behavior and ESC not working - #2406: Opencode hanging on node 20 with similar symptoms after opening a port - #2394: Opencode command hanging (closed but similar freezing behavior) - #2137: Message generation stuck at 'Generating' with interruption issues - #2210: Hanging with 'opencode run' command in CLI mode - #2351: Context counter not showing real usage (related to the token counter request) The freezing on 'Working...' with ESC not responding appears to be a recurring issue across multiple versions and environments. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 5, 2025):

@haltingstate can you share more? Does sending subsequent messages work? or is it perma stuck unless you restart?

There is a token counter see top right corner:

Image
@rekram1-node commented on GitHub (Sep 5, 2025): @haltingstate can you share more? Does sending subsequent messages work? or is it perma stuck unless you restart? There is a token counter see top right corner: <img width="2250" height="524" alt="Image" src="https://github.com/user-attachments/assets/fa433dd6-9ff5-49cc-9f9d-31bdb4b32aec" />
Author
Owner

@haltingstate commented on GitHub (Sep 5, 2025):

Perma stuck until restarted.

The new messages get stuck as "Queued"

I think the bug may be related to networking. Because the LLMs are sometimes unreliable or have periodic outages on this machine.


Also, there needs to be time out or retry indicator; like claude-code has; if network time outs (retrying 3 out of 10), etc.

That is also missing.

@haltingstate commented on GitHub (Sep 5, 2025): Perma stuck until restarted. The new messages get stuck as "Queued" I think the bug may be related to networking. Because the LLMs are sometimes unreliable or have periodic outages on this machine. --- Also, there needs to be time out or retry indicator; like claude-code has; if network time outs (retrying 3 out of 10), etc. That is also missing.
Author
Owner

@fiuzagr commented on GitHub (Sep 19, 2025):

It's stuck for me after editing a file.

Even if I restart, execution stops at the exact same file.

https://opencode.ai/s/5quPOups

Image

@fiuzagr commented on GitHub (Sep 19, 2025): It's stuck for me after editing a file. Even if I restart, execution stops at the exact same file. https://opencode.ai/s/5quPOups ![Image](https://github.com/user-attachments/assets/de59cd4e-5d8c-4d5a-bd3a-7b604954c5b3)
Author
Owner

@rekram1-node commented on GitHub (Sep 19, 2025):

@fiuzagr I will make a fix for this, it is specific to c, c++ a few other files the clangd lsp interacts with, can you in your opencode.json put the following:

{
  "lsp": {
      "clangd": {
          "disabled": true
       }
   }
}
@rekram1-node commented on GitHub (Sep 19, 2025): @fiuzagr I will make a fix for this, it is specific to c, c++ a few other files the clangd lsp interacts with, can you in your opencode.json put the following: ``` { "lsp": { "clangd": { "disabled": true } } } ```
Author
Owner

@fiuzagr commented on GitHub (Sep 19, 2025):

Thank you, @rekram1-node

That worked!

@fiuzagr commented on GitHub (Sep 19, 2025): Thank you, @rekram1-node That worked!
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1617