# agent_ui: Add more refinements to the thinking block display \(\#52874\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f5993d801bed50eefba134ba4c063db1c154d869)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f5993d801bed50eefba134ba4c063db1c154d869

Requested commit: f5993d801bed50eefba134ba4c063db1c154d869

Commit: f5993d801bed50eefba134ba4c063db1c154d869

Tree: e6995701e5856110d8fc7b68183e0d50d9ee6633

Author: Danilo Leal

Committer: GitHub

## Message

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

Follow-up to https://github.com/zed-industries/zed/pull/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
```

## Parents

- [66f9e328fcd487d4478152a54d30f35fe85650ba](https://git.cafe/gitcafe/zed/commit/66f9e328fcd487d4478152a54d30f35fe85650ba?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f5993d801bed50eefba134ba4c063db1c154d869?format=markdown)
