Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

language_model_selector: Refresh the models when the providers change (cherry-pick #22624) #22626

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked language_model_selector: Refresh the models when the providers change (#22624)

This PR fixes an issue introduced in #21939 where the list of models in
the language model selector could be outdated.

Since we're no longer recreating the picker each render, we now need to
make sure we are updating the list of models accordingly when there are
changes to the language model providers.

I noticed it specifically in Assistant1.

Release Notes:

  • Fixed a staleness issue with the language model selector.

…#22624)

This PR fixes an issue introduced in #21939 where the list of models in
the language model selector could be outdated.

Since we're no longer recreating the picker each render, we now need to
make sure we are updating the list of models accordingly when there are
changes to the language model providers.

I noticed it specifically in Assistant1.

Release Notes:

- Fixed a staleness issue with the language model selector.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 3, 2025
@maxdeviant maxdeviant merged commit 74c82e1 into v0.168.x Jan 3, 2025
12 checks passed
@maxdeviant maxdeviant deleted the cherry-pick-f55434-v0.168.x branch January 3, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant