This commit is contained in:
duanfuxiang
2025-06-12 16:08:05 +08:00
parent 2f34794a3c
commit d16207e3c5
4 changed files with 78 additions and 19 deletions

View File

@@ -240,6 +240,31 @@ export default {
searchOrEnterModelName: '搜索或输入模型名称...',
enterCustomModelName: '输入自定义模型名称',
custom: '自定义: ',
testConnection: {
testApiConnection: '测试 API 连接',
testingConnection: '正在测试连接...',
connectionSuccess: '连接测试成功',
connectionFailed: '连接测试失败',
notSupported: '不支持测试 {provider} 的 API 连接',
invalidApiKey: 'API Key 无效或缺失',
invalidBaseUrl: '基础 URL 设置错误',
requestTimeout: '请求超时,请检查网络连接',
networkError: '网络连接失败',
unauthorizedError: 'API Key 授权失败',
forbiddenError: '访问被拒绝,请检查 API Key 权限',
rateLimitError: '请求频率过高,请稍后重试',
serverError: '服务器内部错误',
noDefaultModel: '{provider} 没有可用的默认模型',
invalidResponse: '响应格式无效',
// UI 文本
showApiKey: '显示 API Key',
hideApiKey: '隐藏 API Key',
testConnectionTooltip: '测试 API 连接',
testing: '测试中',
success: '成功',
failed: '失败',
test: '测试',
},
},
// 模型参数部分