# acp: Hide loading diff animation for external agents and update in place \(\#36699\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 725ed5dd01f18d6b2994435152d7fad37ed9765b

Requested commit: 725ed5dd01f18d6b2994435152d7fad37ed9765b

Commit: 725ed5dd01f18d6b2994435152d7fad37ed9765b

Tree: d03cd41769f055c1f53353bf7762326de23b7f24

Author: Agus Zubiaga

Committer: GitHub

## Message

```
acp: Hide loading diff animation for external agents and update in place (#36699)

The loading diff animation can be jarring for external agents because
they stream the diff at the same time the tool call is pushed, so it's
only displayed while we're asynchronously calculating the diff. We'll
now only show it for the native agent.

Also, we'll now only update the diff when it changes, which avoids
unnecessarily hiding it for a few frames.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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