# Fix a bug where switching the disable AI flag would cause a panic \(\#45050\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 847457df1bf27c1162433434afef53497f07a15b

Requested commit: 847457df1bf27c1162433434afef53497f07a15b

Commit: 847457df1bf27c1162433434afef53497f07a15b

Tree: c8b964c8a4bea9fc99af6e0d69e8d3e2150b3685

Author: Mikayla Maki

Committer: GitHub

## Message

```
Fix a bug where switching the disable AI flag would cause a panic (#45050)

Also quiet some noisy logs

Release Notes:

- N/A
```

## Parents

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

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