fix(i18n): remove hardcoded defaultValue and unused placeholder for reasoning model

This commit is contained in:
Jason
2026-01-03 12:04:34 +08:00
parent 0a9de282a3
commit 2105f2d05b
4 changed files with 1 additions and 9 deletions

View File

@@ -222,9 +222,7 @@ export function ClaudeFormFields({
{/* 推理模型 */} {/* 推理模型 */}
<div className="space-y-2"> <div className="space-y-2">
<FormLabel htmlFor="reasoningModel"> <FormLabel htmlFor="reasoningModel">
{t("providerForm.anthropicReasoningModel", { {t("providerForm.anthropicReasoningModel")}
defaultValue: "推理模型 (Thinking)",
})}
</FormLabel> </FormLabel>
<Input <Input
id="reasoningModel" id="reasoningModel"
@@ -233,9 +231,6 @@ export function ClaudeFormFields({
onChange={(e) => onChange={(e) =>
onModelChange("ANTHROPIC_REASONING_MODEL", e.target.value) onModelChange("ANTHROPIC_REASONING_MODEL", e.target.value)
} }
placeholder={t("providerForm.reasoningModelPlaceholder", {
defaultValue: "",
})}
autoComplete="off" autoComplete="off"
/> />
</div> </div>

View File

@@ -343,7 +343,6 @@
"anthropicModel": "Main Model", "anthropicModel": "Main Model",
"anthropicSmallFastModel": "Fast Model", "anthropicSmallFastModel": "Fast Model",
"anthropicReasoningModel": "Reasoning Model (Thinking)", "anthropicReasoningModel": "Reasoning Model (Thinking)",
"reasoningModelPlaceholder": "e.g. claude-sonnet-4-20250514",
"openrouterCompatMode": "OpenRouter Compatibility Mode", "openrouterCompatMode": "OpenRouter Compatibility Mode",
"openrouterCompatModeHint": "Use OpenAI Chat Completions interface and convert to Anthropic SSE.", "openrouterCompatModeHint": "Use OpenAI Chat Completions interface and convert to Anthropic SSE.",
"anthropicDefaultHaikuModel": "Default Haiku Model", "anthropicDefaultHaikuModel": "Default Haiku Model",

View File

@@ -343,7 +343,6 @@
"anthropicModel": "メインモデル", "anthropicModel": "メインモデル",
"anthropicSmallFastModel": "高速モデル", "anthropicSmallFastModel": "高速モデル",
"anthropicReasoningModel": "推論モデルThinking", "anthropicReasoningModel": "推論モデルThinking",
"reasoningModelPlaceholder": "例: claude-sonnet-4-20250514",
"openrouterCompatMode": "OpenRouter 互換モード", "openrouterCompatMode": "OpenRouter 互換モード",
"openrouterCompatModeHint": "OpenAI Chat Completions インターフェースを使用し、Anthropic SSE に変換します。", "openrouterCompatModeHint": "OpenAI Chat Completions インターフェースを使用し、Anthropic SSE に変換します。",
"anthropicDefaultHaikuModel": "既定 Haiku モデル", "anthropicDefaultHaikuModel": "既定 Haiku モデル",

View File

@@ -343,7 +343,6 @@
"anthropicModel": "主模型", "anthropicModel": "主模型",
"anthropicSmallFastModel": "快速模型", "anthropicSmallFastModel": "快速模型",
"anthropicReasoningModel": "推理模型 (Thinking)", "anthropicReasoningModel": "推理模型 (Thinking)",
"reasoningModelPlaceholder": "如 claude-sonnet-4-20250514",
"openrouterCompatMode": "OpenRouter 兼容模式", "openrouterCompatMode": "OpenRouter 兼容模式",
"openrouterCompatModeHint": "使用 OpenAI Chat Completions 接口并转换为 Anthropic SSE。", "openrouterCompatModeHint": "使用 OpenAI Chat Completions 接口并转换为 Anthropic SSE。",
"anthropicDefaultHaikuModel": "Haiku 默认模型", "anthropicDefaultHaikuModel": "Haiku 默认模型",