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.
Activity