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

Activity

  1. added
    area:terminal-rendering
    and removed on Nov 20, 2026
  2. slrh-gov commented on Dec 3, 2026

    @slrh-gov

    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.

  3. estandout-source commented on Dec 4, 2026

    @estandout-source

    Yes, collapsing thinking blocks sometimes makes conversations look like this:

    conversation

    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.

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

    area:terminal-rendering

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions