File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ const initialProviders: ModelProvider[] = [
4949 models : [ ] ,
5050 apiKey : "" ,
5151 apiKeyVar : "" ,
52- baseUrl : "" ,
52+ baseUrl : "http://localhost:11434/v1 " ,
5353 } ,
5454 {
5555 id : "google" ,
5656 name : "Google" ,
5757 models : [ "gemini-2.5-pro" , "gemini-2.5-flash" ] ,
5858 apiKey : "" ,
5959 apiKeyVar : "GEMINI_API_KEY" ,
60- baseUrl : "" ,
60+ baseUrl : "https://generativelanguage.googleapis.com/v1beta/openai " ,
6161 } ,
6262 {
6363 id : "openrouter" ,
@@ -75,6 +75,14 @@ const initialProviders: ModelProvider[] = [
7575 apiKeyVar : "HF_API_TOKEN" ,
7676 baseUrl : "https://router.huggingface.co/v1" ,
7777 } ,
78+ {
79+ id : "xai" ,
80+ name : "grok" ,
81+ models : [ "grok-4" ] ,
82+ apiKey : "" ,
83+ apiKeyVar : "XAI_API_KEY" ,
84+ baseUrl : "https://api.x.ai/v1" ,
85+ } ,
7886] ;
7987
8088export const useProviderStore = create < ProviderState & ProviderActions > ( ) (
You can’t perform that action at this time.
0 commit comments