mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-05 10:36:40 +08:00
fix(i18n): remove hardcoded defaultValue and unused placeholder for reasoning model
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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 モデル",
|
||||||
|
|||||||
@@ -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 默认模型",
|
||||||
|
|||||||
Reference in New Issue
Block a user