# diagnostics: Hide Inline Assist toolbar button when agent is disabled \(\#52706\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 82e7917e08162a0ee253a2ce2010623e8585dd3c

Requested commit: 82e7917e08162a0ee253a2ce2010623e8585dd3c

Commit: 82e7917e08162a0ee253a2ce2010623e8585dd3c

Tree: a1a51b722b3ec0d2b573649cdcacad433d0a250c

Author: Om Chillure

Committer: GitHub

## Message

```
diagnostics: Hide Inline Assist toolbar button when agent is disabled (#52706)

### Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the UI/UX checklist
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

#### Closes #52702

### Video 

[Screencast from 2026-03-30
13-17-08.webm](https://github.com/user-attachments/assets/8b0f6927-04d2-406b-b7fd-064a730b2f86)

Release Notes:

- Fixed the Inline Assist button showing in the Project Diagnostics
toolbar when the agent is disabled.
```

## Parents

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

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