File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,7 +339,9 @@ export function buildAPIProviderProperties(): Property[] {
339339 bedrock : 'AWS Bedrock' ,
340340 vertex : 'Google Vertex AI' ,
341341 foundry : 'Microsoft Foundry' ,
342- gemini : 'Gemini API'
342+ gemini : 'Gemini API' ,
343+ grok : 'Grok API' ,
344+ openai : 'OpenAI API' ,
343345 } [ apiProvider ]
344346 properties . push ( {
345347 label : 'API provider' ,
@@ -430,6 +432,18 @@ export function buildAPIProviderProperties(): Property[] {
430432 label : 'Gemini base URL' ,
431433 value : geminiBaseUrl ,
432434 } )
435+ } else if ( apiProvider === 'grok' ) {
436+ const grokBaseUrl = process . env . GROK_BASE_URL
437+ properties . push ( {
438+ label : 'Grok base URL' ,
439+ value : grokBaseUrl ,
440+ } )
441+ } else if ( apiProvider === 'openai' ) {
442+ const openaiBaseUrl = process . env . OPENAI_BASE_URL
443+ properties . push ( {
444+ label : 'OpenAI base URL' ,
445+ value : openaiBaseUrl ,
446+ } )
433447 }
434448
435449 const proxyUrl = getProxyUrl ( )
You can’t perform that action at this time.
0 commit comments