Description
Description
I executed './opencode serve -- hostname 0.0.0.0' on wezterm in CentOS Linux release 8.5.2111 and connected to it using Chrome 142.0.7444.135 on Windows (my browser on CentOS 8 is too old to display opencode's web pages)
I am using locally deployed qwen3.8, which often loops through thinking. When it loops through thinking, I will stop it and send 'continue'. From this point on, after I input the content, the opencode will continue to display "working" (in fact, the model is currently outputting the thinking content, but I cannot view it in real time). After a long time, it will not display its thinking content (it only displays content when the thinking is truly completed or the output reaches its limit, but due to its frequent cycle of thinking, all thoughts are not displayed). Only when I stop it, does opencode show that it used one thought, and then I can view its thought content.
Please note that before the loop thinking occurs, when I ask a question, the opencode will immediately display "1 thought used" and allow me to view my thoughts in real-time. The bug of thinking unable to view content in real-time only occurs after loop thinking occurs.
In the last conversation, it was thinking in a loop, so I stopped it and sent a '直接回答'.

I waited for about a minute, but the opencode still showed '工作中' and I couldn't view its thoughts in real-time.
So I stopped it.

After I stopped it, it showed that 1 thought was used, and now I can view its thought content.

Plugins
No response
OpenCode version
2.0.31
Steps to reproduce
- Trigger model loop thinking
- Stop it
- continue the conversation
- At this point, the opencode will display that it is working and cannot display the thinking content in real time
Screenshot
No response
Operating System
CentOS Linux release 8.5.2111
Terminal
wezterm
Activity
opencode-agent commentedon Oct 20, 2026
Thanks for the detailed report and screenshots.
I looked into this, and the web UI is behaving as designed rather than hitting a bug. With the detailed and compact timeline presets, thinking is grouped together with tool calls. While a turn has produced only thinking so far, the timeline deliberately shows just Working and holds back the "Used 1 Thought" group. That group appears once the model produces text or a tool call, or once the turn ends. There are tests that check for exactly this (added in #51090).
This explains what you saw. In a normal turn, the model soon follows its thinking with a tool call or an answer, so the thought shows up almost at once. When qwen loops in its thinking, it never produces anything else, so only Working shows until you press stop. Stopping and then sending "continue" is most likely not the cause. A looping turn would show only Working even if it were the first message.
Workaround: switch the timeline detail setting to the everything preset. It shows thinking in its own row, which updates live while the model is thinking.
If you'd like grouped mode to also show thinking live while a turn is still only thinking, that would be a feature request, and you're welcome to open one. If you still don't see thinking live with the everything preset, please reply here and say which preset you are using.
Hona commentedon Oct 23, 2026
Agreed - will make this visible
opencode-agent commentedon Oct 23, 2026
Closing this for now, since we haven't heard back. As explained above, with the detailed and compact timeline presets, thinking is grouped with tool calls. While a turn is still only thinking, the timeline shows just Working. The thought appears once the model produces text or a tool call, or the turn ends. A model stuck in a thinking loop therefore shows only Working until you stop it. To watch thinking live, switch the timeline detail setting to the everything preset.
If you still can't see thinking live with the everything preset, please comment here with the preset you're using and we can take another look. If you'd like grouped mode to show live thinking too, feel free to open a feature request.