# Fix edit prediction provider checkmark \(\#56250\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ef65b5a2832ffe227467ed23db19d959d22b3e00

Requested commit: ef65b5a2832ffe227467ed23db19d959d22b3e00

Commit: ef65b5a2832ffe227467ed23db19d959d22b3e00

Tree: a3b0fae4d366044fdfca61a49f5eede670b4ba9e

Author: liam

Committer: GitHub

## Message

```
Fix edit prediction provider checkmark (#56250)

Resolves https://github.com/zed-industries/zed/issues/56129

The edit prediction status bar menu only showed a checkmark for the
active provider when that provider was Zed AI. Non-Zed providers such as
Mercury could be selected and active, but the Providers section rendered
them as unchecked because the toggle condition required `provider =
EditPredictionProvider::Zed`.

This updates the menu condition to show the checkmark for any active
provider, while preserving the existing exception that hides the Zed AI
checkmark when Zed AI is disabled by organization policy.

<div align="center">
<img width="371" height="187" alt="Screenshot 2026-05-08 at 11 27 49 PM"
src="https://github.com/user-attachments/assets/5278a102-bd7d-44a5-a655-74c6ed90b0f9"
/>
</div>

Release Notes:
- Fixed edit prediction provider menu checkmarks for active non-Zed
providers.
```

## Parents

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

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