mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
补全status界面里的信息 (#189)
* docs: update contributors * docs: update contributors * docs: update contributors * docs: update contributors * 添加status命令里更多模型api介绍 --------- Co-authored-by: HitMargin <hitmargin@qq.com>
This commit is contained in:
@@ -339,7 +339,9 @@ export function buildAPIProviderProperties(): Property[] {
|
||||
bedrock: 'AWS Bedrock',
|
||||
vertex: 'Google Vertex AI',
|
||||
foundry: 'Microsoft Foundry',
|
||||
gemini: 'Gemini API'
|
||||
gemini: 'Gemini API',
|
||||
grok: 'Grok API',
|
||||
openai: 'OpenAI API',
|
||||
}[apiProvider]
|
||||
properties.push({
|
||||
label: 'API provider',
|
||||
@@ -430,6 +432,18 @@ export function buildAPIProviderProperties(): Property[] {
|
||||
label: 'Gemini base URL',
|
||||
value: geminiBaseUrl,
|
||||
})
|
||||
} else if (apiProvider === 'grok') {
|
||||
const grokBaseUrl = process.env.GROK_BASE_URL
|
||||
properties.push({
|
||||
label: 'Grok base URL',
|
||||
value: grokBaseUrl,
|
||||
})
|
||||
} else if (apiProvider === 'openai') {
|
||||
const openaiBaseUrl = process.env.OPENAI_BASE_URL
|
||||
properties.push({
|
||||
label: 'OpenAI base URL',
|
||||
value: openaiBaseUrl,
|
||||
})
|
||||
}
|
||||
|
||||
const proxyUrl = getProxyUrl()
|
||||
|
||||
Reference in New Issue
Block a user