You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-collapse each "Thought for…" block when thinking finishes #5531
Describe the feature or problem you'd like to solve
With reasoning shown ( showReasoning / ctrl+t), every "Thought for…" block stays expanded after the model finishes thinking. In long agent sessions, this pushes answers, tool calls and results off-screen, and I have to scroll past old reasoning to find them. Today the choice is all or nothing: keep every block expanded, or hide reasoning entirely and lose the live view of what the agent is doing.
Proposed solution
Proposal
Add an auto-collapse mode, for example showReasoning: "auto" :
• Show the block expanded while the model is thinking.
• When the thought finishes, collapse it to a single "Thought for Ns" line.
• Let me expand one collapsed block (by clicking it or with a key) without expanding all of them.
• Keep ctrl+t as the toggle for all blocks, and save the mode across sessions like showReasoning .
Current workaround
ctrl+t hides all reasoning, and ctrl+o toggles the whole timeline, but neither collapses only the finished thoughts.
This seems to have been implemented, but it has completely replaced the old behaviour instead of being optional.
The new behaviour appears to be, you can see thinking blocks while they are generated, but they max out at 3 lines high and scroll if the thought is longer than that, and token generation is too fast to read. Then once thinking is finished the block collapses.
Pressing Ctrl-T seems to have no effect, pressing Ctrl-E seems to have no effect, and pressing Ctrl-O requires you to also expand all tool calls if you want to expand thinking blocks, which makes the terminal too noisy to follow.
Is there any way to get the old behaviour of tool calls closed by default, thinking blocks open by default? I rely on skim-reading thinking blocks in order to catch agent misconceptions early, and this change has made that more or less impossible. If it stays like this I'll have to switch to another client.
Yes, collapsing thinking blocks sometimes makes conversations look like this:
The only way to expand thinking now is to expand tool calls as well - but I don't really need to see exact tool calls details, meanwhile thinking is pretty important to see.
Activity
slrh-gov commentedon Dec 3, 2026
This seems to have been implemented, but it has completely replaced the old behaviour instead of being optional.
The new behaviour appears to be, you can see thinking blocks while they are generated, but they max out at 3 lines high and scroll if the thought is longer than that, and token generation is too fast to read. Then once thinking is finished the block collapses.
Pressing Ctrl-T seems to have no effect, pressing Ctrl-E seems to have no effect, and pressing Ctrl-O requires you to also expand all tool calls if you want to expand thinking blocks, which makes the terminal too noisy to follow.
Is there any way to get the old behaviour of tool calls closed by default, thinking blocks open by default? I rely on skim-reading thinking blocks in order to catch agent misconceptions early, and this change has made that more or less impossible. If it stays like this I'll have to switch to another client.
estandout-source commentedon Dec 4, 2026
Yes, collapsing thinking blocks sometimes makes conversations look like this:
The only way to expand thinking now is to expand tool calls as well - but I don't really need to see exact tool calls details, meanwhile thinking is pretty important to see.