From 836fbdaf0f08d48aeceb618e872b67ceb1483bdb Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 30 Jan 2026 16:42:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=B2=BE=E7=AE=80=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 精简模型配置,移除冗余的限制、模态和变体设置,仅保留模型名称。 --- opencode.jsonc | 46 ++++------------------------------------------ 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/opencode.jsonc b/opencode.jsonc index 3ca27f2..caeddfd 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -19,28 +19,10 @@ }, "models": { "claude-opus-4-5-thinking": { - "name": "Claude Opus 4.5 (Thinking)", - "limit": { "context": 200000, "output": 64000 }, - "modalities": { - "input": ["text", "image", "pdf"], - "output": ["text"] - }, - "variants": { - "low": { "thinkingConfig": { "thinkingBudget": 8192 } }, - "max": { "thinkingConfig": { "thinkingBudget": 32768 } } - } + "name": "Claude Opus 4.5 (Thinking)" }, "claude-sonnet-4-5-thinking": { - "name": "Claude Sonnet 4.5 (Thinking)", - "limit": { "context": 200000, "output": 64000 }, - "modalities": { - "input": ["text", "image", "pdf"], - "output": ["text"] - }, - "variants": { - "low": { "thinkingConfig": { "thinkingBudget": 8192 } }, - "max": { "thinkingConfig": { "thinkingBudget": 32768 } } - } + "name": "Claude Sonnet 4.5 (Thinking)" }, "claude-sonnet-4-5": { "name": "Claude Sonnet 4.5", @@ -61,30 +43,10 @@ }, "models": { "gemini-3-pro": { - "name": "Gemini 3 Pro", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { - "input": ["text", "image", "pdf"], - "output": ["text"] - }, - "variants": { - "low": { "thinkingLevel": "low" }, - "high": { "thinkingLevel": "high" } - } + "name": "Gemini 3 Pro" }, "gemini-3-flash": { - "name": "Gemini 3 Flash", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { - "input": ["text", "image", "pdf"], - "output": ["text"] - }, - "variants": { - "minimal": { "thinkingLevel": "minimal" }, - "low": { "thinkingLevel": "low" }, - "medium": { "thinkingLevel": "medium" }, - "high": { "thinkingLevel": "high" } - } + "name": "Gemini 3 Flash" } } },