@@ -610,7 +610,7 @@ export const getApiProtocol = (provider: ProviderName | undefined, modelId?: str
610
610
*/
611
611
612
612
export const MODELS_BY_PROVIDER : Record <
613
- Exclude < ProviderName , "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | " openai" | "ollama "> ,
613
+ Exclude < ProviderName , "fake-ai" | "human-relay" | "gemini-cli" | "openai" > ,
614
614
{ id : ProviderName ; label : string ; models : string [ ] }
615
615
> = {
616
616
anthropic : {
@@ -696,7 +696,7 @@ export const MODELS_BY_PROVIDER: Record<
696
696
xai : { id : "xai" , label : "xAI (Grok)" , models : Object . keys ( xaiModels ) } ,
697
697
zai : { id : "zai" , label : "Zai" , models : Object . keys ( internationalZAiModels ) } ,
698
698
699
- // Dynamic providers; models pulled from the respective APIs.
699
+ // Dynamic providers; models pulled from remote APIs.
700
700
glama : { id : "glama" , label : "Glama" , models : [ ] } ,
701
701
huggingface : { id : "huggingface" , label : "Hugging Face" , models : [ ] } ,
702
702
litellm : { id : "litellm" , label : "LiteLLM" , models : [ ] } ,
@@ -705,4 +705,8 @@ export const MODELS_BY_PROVIDER: Record<
705
705
unbound : { id : "unbound" , label : "Unbound" , models : [ ] } ,
706
706
deepinfra : { id : "deepinfra" , label : "DeepInfra" , models : [ ] } ,
707
707
"vercel-ai-gateway" : { id : "vercel-ai-gateway" , label : "Vercel AI Gateway" , models : [ ] } ,
708
+
709
+ // Local providers; models discovered from localhost endpoints.
710
+ lmstudio : { id : "lmstudio" , label : "LM Studio" , models : [ ] } ,
711
+ ollama : { id : "ollama" , label : "Ollama" , models : [ ] } ,
708
712
}
0 commit comments