# language_models: Fix \`is_authenticated\` state for Cloud provider \(\#54826\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2cc960c991a699a485a4751e2002abc01ae769ff

Requested commit: 2cc960c991a699a485a4751e2002abc01ae769ff

Commit: 2cc960c991a699a485a4751e2002abc01ae769ff

Tree: f8a957fea3213857c979d1ef7fa7b39aa2756034

Author: Marshall Bowers

Committer: GitHub

## Message

```
language_models: Fix `is_authenticated` state for Cloud provider (#54826)

This PR fixes an issue introduced in
https://github.com/zed-industries/zed/pull/54397 where the Zed Cloud
provider would not be reflected as "authenticated" if a connection to
Collab was attempted, but could not be established.

This was especially noticable when running Zed against a local version
of Cloud and not having Collab running.

This restores the original logic prior to that change.

Release Notes:

- N/A
```

## Parents

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

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