assistant: Ensure that zed provider is listed as first option (#15496)

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2024-07-30 19:38:52 +02:00 committed by GitHub
parent eedef487ac
commit dca9400edf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 4 deletions

View file

@ -60,6 +60,7 @@ impl<T: PopoverTrigger> RenderOnce for ModelSelector<T> {
for (index, provider) in LanguageModelRegistry::global(cx)
.read(cx)
.providers()
.into_iter()
.enumerate()
{
if index > 0 {