# terminal view: Hide inline assist button if AI is disabled \(\#37378\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d2318be8d9600ab3f232f3dc582516bf35cfc747

Requested commit: d2318be8d9600ab3f232f3dc582516bf35cfc747

Commit: d2318be8d9600ab3f232f3dc582516bf35cfc747

Tree: 4a0411b74025bf314f734e031920b651a9caa882

Author: Danilo Leal

Committer: GitHub

## Message

```
terminal view: Hide inline assist button if AI is disabled (#37378)

Closes https://github.com/zed-industries/zed/issues/37372

Release Notes:

- Fix the terminal inline assistant button showing despite `disable_ai`
being turned on.

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

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

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