Freeze on "generating..." with code-supernova on 0.10.2
https://opencode.ai/s/ZBE5agos
https://github.com/user-attachments/assets/945e6883-8d54-4323-a2af-b2bb1acd2184
@alexeypolitov consider doing /thinking so you can see thinking chunks
could you show last log file?
I am also getting freezes when using Grok-Code-Fast-1. It will stop working, and the generation animation (text color changes) will freeze when generating.
what’s the frequency? Can you provide the logs when this happened?
what’s the frequency? Can you provide the logs when this happened?
It happens to me at least once every time I use Opencode for a session of a few hours. I'm digging around to find where the log files are.
ERROR 2025-09-20T18:24:36 +445ms service=lsp.client serverID=pyright error=Operation timed out after 5000ms initialize error ERROR 2025-09-20T18:24:36 +1ms service=lsp error=LSPInitializeError Caused by: Operation timed out after 5000ms Failed to initialize LSP client pyright ERROR 2025-09-20T18:24:38 +254ms service=lsp.client serverID=pyright error=Operation timed out after 5000ms initialize error ERROR 2025-09-20T18:24:38 +0ms service=lsp error=LSPInitializeError Caused by: Operation timed out after 5000ms Failed to initialize LSP client pyright
oo that is good to know actually ty
i've experienced this with several models, grok-4-fast, grok-code-fast-1, kimi-k2
Haven't been using other models in opencode, idk if this is model dependent.
EDIT: seems like this happens when the responses are complete. So likely something going on with response completed state
@teak421 you should try putting this in your opencode.json
{
"lsp": {
"pyright": {
"disabled": true
}
}
}
@teak421 you should try putting this in your opencode.json
{ "lsp": { "pyright": { "disabled": true } } }
Do you think this issue will be fixed, since the above is simply a workaround? Thx.
@teak421 I think I may have fixed part of the issue in one of the more recent releases actually but need to verify
It just happened to me about an hour ago, which is why I thought about it. (on my Mac at work). I was on 0.11.3. Thx.
but was that with the lsp disabled? there are times generating could possibly hang for a while
if u could provide any logs thatd be amazing
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!