fallback model/providers (#259)
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
bc47b455b5
commit
e52916a7ef
@@ -13,6 +13,10 @@
|
||||
"aiProviders": {
|
||||
"title": "AI 模型提供商",
|
||||
"description": "配置 AI 模型提供商和 API 密钥",
|
||||
"sections": {
|
||||
"model": "模型配置",
|
||||
"fallback": "回退配置"
|
||||
},
|
||||
"add": "添加提供商",
|
||||
"custom": "自定义",
|
||||
"notRequired": "非必填",
|
||||
@@ -26,9 +30,19 @@
|
||||
"desc": "配置新的 AI 模型提供商",
|
||||
"displayName": "显示名称",
|
||||
"apiKey": "API 密钥",
|
||||
"apiKeyConfigured": "这个 provider 已经保存了 API key。",
|
||||
"apiKeyMissing": "这个 provider 还没有保存 API key。",
|
||||
"apiKeyStored": "您的 API 密钥存储在本地机器上。",
|
||||
"replaceApiKey": "替换 API Key",
|
||||
"replaceApiKeyHelp": "如果想保留当前已保存的 API key,这里留空即可。",
|
||||
"baseUrl": "基础 URL",
|
||||
"modelId": "模型 ID",
|
||||
"fallbackModels": "回退模型",
|
||||
"fallbackProviders": "跨 Provider 回退",
|
||||
"fallbackModelIds": "同 Provider 回退模型 ID",
|
||||
"fallbackModelIdsPlaceholder": "gpt-4.1-mini\nanother-model-id",
|
||||
"fallbackModelIdsHelp": "每行一个模型 ID。会先使用当前 provider 的这些模型,再回退到其他 provider。",
|
||||
"noFallbackOptions": "请先添加其他 provider,才能把它设为回退目标。",
|
||||
"cancel": "取消",
|
||||
"change": "更换提供商",
|
||||
"add": "添加提供商",
|
||||
@@ -39,6 +53,9 @@
|
||||
"default": "默认",
|
||||
"configured": "已配置",
|
||||
"noKey": "未设置 API 密钥",
|
||||
"none": "无",
|
||||
"fallbacks_one": "回退:{{names}}",
|
||||
"fallbacks_other": "回退({{count}} 个):{{names}}",
|
||||
"setDefault": "设为默认",
|
||||
"editKey": "编辑 API 密钥",
|
||||
"delete": "删除提供商"
|
||||
|
||||
Reference in New Issue
Block a user