# language_models: Fix misleading copy when hosted models are disabled \(\#53971\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 57e01b3701dd41a15e7a85dabce444d4cc5e2ff5

Requested commit: 57e01b3701dd41a15e7a85dabce444d4cc5e2ff5

Commit: 57e01b3701dd41a15e7a85dabce444d4cc5e2ff5

Tree: 6b772cf951341ff9ae352722d59015e7de5503a8

Author: Tom Houlé

Committer: GitHub

## Message

```
language_models: Fix misleading copy when hosted models are disabled (#53971)

The agent settings UI unconditionally showed "You have access to Zed's
hosted models through your Organization" for all Business plan users,
even when the org admin had turned off the Zed AI model provider. Now
the copy reads "Zed's hosted models are disabled by your organization's
configuration" when is_zed_model_provider_enabled is false.

Also added component preview entries for both Business plan states.

Closes CLO-667

Release Notes:

- N/A

---------

Co-authored-by: Neel <neel@zed.dev>
```

## Parents

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

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