Skip to content

agent_ui: Add more refinements to the thinking block display#52874

Merged
danilo-leal merged 2 commits intomainfrom
thinking-refinement
Apr 1, 2026
Merged

agent_ui: Add more refinements to the thinking block display#52874
danilo-leal merged 2 commits intomainfrom
thinking-refinement

Conversation

@danilo-leal
Copy link
Copy Markdown
Member

Follow-up to #52608

This PR adds a new iteration to the thinking block display design after some internal round of feedback. It turns out, we had some people appreciating the auto-collapse when thinking is done; thinking content isn't too useful afterwards and it is just more content to to he model, not the user. I also liked the one old but it definitely has the issue of being a jarring layout shift when it wraps up. So that's why I'm keeping what I introduced in the PR linked above as a setting, so that anyone who feels strongly about the default (auto-expand, and auto-collapse) can change that.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 1, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Apr 1, 2026
@danilo-leal danilo-leal merged commit f5993d8 into main Apr 1, 2026
30 checks passed
@danilo-leal danilo-leal deleted the thinking-refinement branch April 1, 2026 13:30
danilo-leal added a commit that referenced this pull request Apr 1, 2026
Quick follow up to #52874
where expanded thinking blocks, when in auto-mode, wouldn't collapse
again.

Release Notes:

- N/A
@zed-zippy zed-zippy bot added the PR state:needs review Used to label PRs that are in need of a post-merge approval label Apr 6, 2026
@MrSubidubi MrSubidubi removed the PR state:needs review Used to label PRs that are in need of a post-merge approval label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants