# language_models: Refresh the list of models when the LLM token is refreshed \(\#34222\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cfc9cfa4ab173830bc50fe20591d12f1db8344ed

Requested commit: cfc9cfa4ab173830bc50fe20591d12f1db8344ed

Commit: cfc9cfa4ab173830bc50fe20591d12f1db8344ed

Tree: bcfebb5a66a7e6747e3c52fc11bec0877b571afe

Author: Marshall Bowers

Committer: GitHub

## Message

```
language_models: Refresh the list of models when the LLM token is refreshed (#34222)

This PR makes it so we refresh the list of models whenever the LLM token
is refreshed.

This allows us to add or remove models based on the plan in the new
token.

Release Notes:

- Fixed model list not refreshing when subscribing to Zed Pro.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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