# git_panel: Disable AI commit message button instead of hiding it \(\#46525\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cc62b53ec1b0699b5a28b2ed9bb01810bf80fd42

Requested commit: cc62b53ec1b0699b5a28b2ed9bb01810bf80fd42

Commit: cc62b53ec1b0699b5a28b2ed9bb01810bf80fd42

Tree: 766b0aaeaa61c8935b90102b243fec9467b105a9

Author: Ivan Magda

Committer: GitHub

## Message

```
git_panel: Disable AI commit message button instead of hiding it (#46525)

Closes #46142

Release Notes:

- Fixed AI commit message button in Git panel being hidden instead of
disabled when no AI provider is configured. The button now remains
visible with a tooltip explaining how to enable the feature.

Screenshot:

<img width="90%" alt="Screenshot 2026-01-10 at 18 16 12"
src="https://github.com/user-attachments/assets/6af9c845-7857-40e1-bfb5-3118f1af8360"
/>

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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