Skip to content

Auto-collapse each "Thought for…" block when thinking finishes #5531

Backlog

Description

@Terry-MSFT

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.

Example prompts or workflows

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions