{
  "title": "模型配置",
  "editProvider": "编辑服务商配置",
  "newProvider": "新建服务商配置",
  "editModel": "编辑模型配置",
  "newModel": "新建模型配置",
  "editProviderSubtitle": "基础服务商参数配置",
  "editSubtitle": "基础模型参数配置",
  "confirmDelete": "确定删除此配置？",
  "cliAuth": {
    "sectionTitle": "本机已登录账号",
    "rescan": "重新扫描",
    "empty": "未检测到本机已登录的 Codex / Gemini CLI 账号，请先在终端完成登录后重新扫描",
    "import": "导入使用",
    "refresh": "刷新 Token",
    "refreshSuccess": "Token 已刷新",
    "refreshFailed": "刷新失败：{{error}}",
    "expiresAt": "Token 有效期至 {{time}}",
    "tokenValid": "Token 已就绪",
    "accountLine": "账号：{{account}}",
    "label": "认证方式",
    "options": {
      "apiKey": "API Key",
      "codexCli": "Codex CLI 已登录账号",
      "geminiCli": "Gemini CLI 已登录账号"
    },
    "detected": "将使用本机 {{label}}（账号 {{account}}）",
    "notDetected": "本机未检测到 {{kind}} 已登录账号，请先在终端完成登录",
    "unknownAccount": "当前登录账号"
  },
  "providerSelection": {
    "title": "选择模型提供商",
    "or": "或者",
    "orSelectProvider": "或选择预设提供商",
    "customTitle": "自定义配置",
    "customDescription": "手动配置所有参数，适用于私有部署或其他未列出的提供商",
    "getApiKey": "获取 API Key",
    "fetchModels": "获取模型列表",
    "fetchHint": "可从当前供应商拉取模型列表；拉取失败时回退到常用预设模型",
    "fetchingModels": "正在拉取模型列表...",
    "fetchSuccessCount": "已从供应商拉取 {{count}} 个模型",
    "fetchFailedFallback": "拉取模型列表失败，已回退到常用预设模型",
    "fetchEmptyFallback": "供应商未返回可用模型，已回退到常用预设模型",
    "fillApiKeyBeforeFetch": "请先填写 API Key 再获取模型列表",
    "usingPresetModels": "当前显示的是常用预设模型",
    "noPresetModels": "暂无可用模型，请获取模型列表或手动输入模型名",
    "backToSelection": "返回选择提供商",
    "selectModel": "选择模型",
    "multiSelectHint": "支持多选；选中后可分别设置每个模型的上下文窗口、最大输出 Tokens 和推理配置",
    "searchOrInputModel": "搜索或输入模型名称...",
    "inputModelName": "输入自定义模型名称...",
    "useCustomModel": "按 Enter 使用",
    "addCustomModel": "添加自定义模型",
    "modelAlreadyInList": "该模型已在列表中",
    "reusedExistingModel": "已使用当前服务商下已有同名模型配置（未新增重复项）",
    "noModelsSelected": "请先选择模型",
    "removeModel": "移除模型",
    "expandModelSettings": "展开「{{name}}」的详细设置",
    "collapseModelSettings": "收起「{{name}}」的详细设置",
    "urlHint": "已预填官方 API 地址，如使用代理或私有部署可修改",
    "formatHint": "已根据提供商自动选择，通常无需修改"
  },
  "providers": {
    "openbitfun": {
      "name": "Sparo 模型平台",
      "description": "Sparo OS 大模型平台"
    },
    "gemini": {
      "name": "Google Gemini",
      "description": "Google Gemini 系列模型"
    },
    "anthropic": {
      "name": "Anthropic Claude",
      "description": "Anthropic Claude 系列模型"
    },
    "minimax": {
      "name": "MiniMax",
      "description": "MiniMax 系列模型"
    },
    "moonshot": {
      "name": "月之暗面",
      "description": "月之暗面 Kimi 系列模型"
    },
    "deepseek": {
      "name": "DeepSeek",
      "description": "DeepSeek 系列模型"
    },
    "zhipu": {
      "name": "智谱AI",
      "description": "智谱AI GLM 系列模型",
      "urlOptions": {
        "default": "OpenAI格式-默认",
        "anthropic": "Anthropic格式",
        "codingPlan": "OpenAI格式-CodingPlan"
      }
    },
    "qwen": {
      "name": "通义千问",
      "description": "阿里云百炼大模型平台"
    },
    "volcengine": {
      "name": "火山引擎",
      "description": "字节跳动火山引擎大模型平台"
    },
    "siliconflow": {
      "name": "硅基流动",
      "description": "硅基流动大模型平台",
      "urlOptions": {
        "default": "OpenAI格式-默认",
        "anthropic": "Anthropic格式"
      }
    },
    "nvidia": {
      "name": "NVIDIA",
      "description": "NVIDIA NIM 大模型平台"
    },
    "openrouter": {
      "name": "OpenRouter",
      "description": "OpenRouter 大模型平台"
    }
  },
  "tabs": {
    "api": "API配置",
    "proxy": "代理配置"
  },
  "categories": {
    "all": "全部",
    "text": "文本",
    "multimodal": "多模态",
    "other": "辅助"
  },
  "category": {
    "label": "模型分类",
    "placeholder": "选择模型分类",
    "general_chat": "文本生成",
    "multimodal": "多模态",
    "image_generation": "图像生成",
    "speech_recognition": "语音识别"
  },
  "categoryIcons": {
    "general_chat": "文本",
    "multimodal": "多模态",
    "image_generation": "绘图",
    "speech_recognition": "语音"
  },
  "categoryHints": {
    "general_chat": "文本生成：生成文本回复、代码等，适用于大多数对话场景",
    "multimodal": "多模态：理解图片内容并进行图文混合对话",
    "image_generation": "图像生成：根据文字描述生成图片",
    "speech_recognition": "语音识别：将语音转换为文字（如智谱 GLM-ASR）"
  },
  "form": {
    "configName": "服务商名称",
    "configNamePlaceholder": "输入服务商名称",
    "modelName": "模型名称",
    "modelSelection": "选择模型",
    "modelNameHint": "智谱 GLM-ASR 使用 glm-asr，其他语音模型填写对应的模型名称",
    "baseUrl": "API地址",
    "resolvedUrlLabel": "实际请求地址：",
    "forceUrlHint": "以 # 结尾可强制使用输入地址",
    "apiKey": "API密钥",
    "apiKeyPlaceholder": "输入您的 API Key",
    "provider": "请求格式",
    "providerPlaceholder": "选择请求格式",
    "contextWindow": "上下文窗口大小",
    "contextWindowHint": "模型支持的最大上下文窗口大小（用于计算token占用百分比）",
    "maxTokens": "最大输出Tokens",
    "maxTokensHint": "单次请求时限制模型输出的最大token数量（影响响应长度）",
    "description": "描述",
    "descriptionPlaceholder": "配置说明（可选）"
  },
  "thinking": {
    "enable": "启用思考",
    "mode": "推理模式",
    "enableHint": "需要模型支持思考模式",
    "summaryOn": "思考开",
    "summaryOff": "思考关",
    "summaryDefault": "API 默认",
    "summaryEnabled": "显式启用",
    "summaryDisabled": "显式禁用",
    "summaryAdaptive": "自适应",
    "budgetTokens": "Claude 思考预算",
    "optionDefault": "API 默认",
    "optionEnabled": "启用",
    "optionDisabled": "禁用",
    "optionAdaptive": "自适应"
  },
  "reasoningEffort": {
    "label": "推理深度",
    "hint": "控制 provider 支持的推理强度，适用于 Responses API 与支持自适应推理的 Claude 模型",
    "placeholder": "使用 API 默认值"
  },
  "details": {
    "basicInfo": "基本信息",
    "modelName": "模型名称",
    "provider": "请求格式",
    "apiUrl": "API地址",
    "contextWindow": "上下文窗口",
    "maxOutput": "最大输出",
    "description": "描述",
    "capabilities": "能力",
    "tokens": "tokens"
  },
  "proxy": {
    "enable": "启用代理",
    "url": "代理地址",
    "urlPlaceholder": "http://127.0.0.1:7890 或 socks5://127.0.0.1:1080",
    "urlHint": "支持 HTTP/HTTPS/SOCKS5 代理，格式：协议://地址:端口",
    "username": "用户名（可选）",
    "usernamePlaceholder": "代理认证用户名",
    "password": "密码（可选）",
    "passwordPlaceholder": "代理认证密码",
    "save": "保存代理配置",
    "saveSuccess": "代理配置已保存，重启IDE后生效"
  },
  "streamIdleTimeout": {
    "title": "流式超时",
    "label": "空闲超时（秒）",
    "placeholder": "留空表示不设超时",
    "invalid": "请输入正整数秒数，或留空。",
    "save": "保存流式超时",
    "saveSuccess": "流式超时已保存"
  },
  "capabilities": {
    "text_chat": "对话",
    "image_understanding": "多模态",
    "image_generation": "绘图",
    "function_calling": "工具",
    "speech_recognition": "语音"
  },
  "formats": {
    "openaiCompatible": "OpenAI 兼容",
    "responsesApi": "OpenAI Responses API",
    "claudeApi": "Claude API",
    "geminiApi": "Gemini GenerateContent API"
  },
  "providerGroup": {
    "expandModels": "展开「{{name}}」的模型列表",
    "collapseModels": "收起「{{name}}」的模型列表",
    "modelUnit": "模型",
    "deleteProvider": "删除服务商",
    "deleteTitle": "删除该服务商？",
    "deleteMessage": "将移除「{{name}}」及其下全部 {{count}} 个已保存的模型配置。",
    "deleteWarning": "此操作无法撤销。",
    "deleteConfirm": "删除服务商"
  },
  "actions": {
    "save": "保存",
    "cancel": "取消",
    "edit": "编辑",
    "delete": "删除",
    "test": "测试连接",
    "newConfig": "新建配置",
    "addModel": "添加模型",
    "addProvider": "添加服务商",
    "createFirst": "创建第一个配置"
  },
  "empty": {
    "noModels": "暂无模型配置",
    "noMatchingModels": "没有找到匹配的模型"
  },
  "search": {
    "placeholder": "搜索模型名称、提供商..."
  },
  "messages": {
    "fillRequired": "请填写必要字段",
    "fillModelName": "请填写模型名称",
    "duplicateModelNameUnderProvider": "该服务商下已有同名模型，请改用其他名称或编辑已有条目",
    "saveFailed": "保存失败",
    "deleteFailed": "删除配置失败",
    "loadFailed": "加载AI配置失败",
    "testSuccess": "测试成功",
    "testFailed": "测试失败",
    "errorDetails": "详细错误",
    "connectionTestMessages": {
      "toolCallsNotDetected": "本次测试未检测到工具调用，因此暂时无法验证工具调用能力。",
      "imageInputCheckFailed": "连接已成功，但图片输入测试未通过。"
    },
    "autoSetPrimary": "已自动设为主力模型",
    "defaultDescription": "{{name}} 模型配置",
    "cloneName": "{{name}} - 副本",
    "templateName": "{{provider}} - {{modelName}}",
    "templateDescription": "{{description}} - {{modelName}}"
  },
  "advancedSettings": {
    "title": "高级设置",
    "inlineThinkInText": {
      "label": "解析文本中的 <think> 标签",
      "hint": "将文本流中的 <think>...</think> 实时拆分为思考内容"
    },
    "skipSslVerify": {
      "label": "跳过SSL证书验证",
      "warning": "跳过SSL证书验证存在安全风险，请仅在测试环境或内网环境使用！"
    },
    "customHeaders": {
      "label": "自定义请求头",
      "hint": "添加或修改HTTP请求头",
      "modeLabel": "应用模式",
      "modeReplace": "替换",
      "modeMerge": "合并",
      "modeReplaceHint": "自定义请求头将完全替换默认请求头（需要自行添加Content-Type、Authorization等）",
      "modeMergeHint": "先应用默认请求头，再应用自定义请求头（可覆盖已有值，添加新值）",
      "addHeader": "添加字段",
      "keyPlaceholder": "key",
      "valuePlaceholder": "value"
    },
    "customRequestBody": {
      "label": "自定义请求体",
      "hint": "输入JSON格式的请求体字段，用于覆盖默认请求参数",
      "modeMerge": "合并",
      "modeTrim": "精简",
      "modeMergeHint": "在默认请求体基础上合并自定义字段，可覆盖已有字段。",
      "trimHintOpenAI": "发送前仅保留 model、messages、max_tokens，以及 stream / tools 等运行必需字段，再应用自定义请求体。",
      "trimHintResponses": "发送前仅保留 model、input、instructions、max_output_tokens，以及 stream / tools 等运行必需字段，再应用自定义请求体。",
      "trimHintAnthropic": "发送前仅保留 model、messages、system、max_tokens，以及 stream / tools 等运行必需字段，再应用自定义请求体。",
      "trimHintGemini": "发送前仅保留 contents、systemInstruction、generationConfig.maxOutputTokens，以及 tools / toolConfig；Gemini 的 model 由请求 URL 决定。",
      "placeholder": "例如：\n{\n  \"temperature\": 0.8,\n  \"top_p\": 0.9\n}",
      "invalidJson": "JSON格式错误，请检查语法",
      "validJson": "JSON格式有效",
      "mergeHint": "自定义字段将覆盖默认请求体中的对应字段"
    }
  }
}
