From 5d8b068604259f30e0ca1f0710b0e50e44e0f578 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 4 Mar 2026 16:07:49 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20provider=20?= =?UTF-8?q?=E4=B8=8E=E4=BB=A3=E7=90=86=E6=A8=A1=E5=9E=8B=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将部分代理模型切换到 litellm、Gemini 和 Sonnet 配置,以统一接入方式并匹配新的模型来源。 --- oh-my-opencode.jsonc | 10 +++++----- opencode.jsonc | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/oh-my-opencode.jsonc b/oh-my-opencode.jsonc index 143a128..fd69dea 100644 --- a/oh-my-opencode.jsonc +++ b/oh-my-opencode.jsonc @@ -4,13 +4,13 @@ "sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "medium" }, "oracle": { "model": "openai/gpt-5.2", "variant": "high" }, - "librarian": { "model": "bailian-coding-plan/MiniMax-M2.5" }, - "explore": { "model": "bailian-coding-plan/MiniMax-M2.5" }, - "multimodal-looker": { "model": "bailian-coding-plan/kimi-k2.5" }, + "librarian": { "model": "google/gemini-3-flash-preview" }, + "explore": { "model": "litellm/grok-code-fast-1" }, + "multimodal-looker": { "model": "openai/gpt-5.3-codex", "variant": "medium" }, "prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, "momus": { "model": "openai/gpt-5.2", "variant": "medium" }, - "atlas": { "model": "bailian-coding-plan/kimi-k2.5" } + "atlas": { "model": "anthropic/claude-sonnet-4-6" } }, "categories": { "visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" }, @@ -20,7 +20,7 @@ "quick": { "model": "anthropic/claude-haiku-4-5" }, "unspecified-low": { "model": "anthropic/claude-sonnet-4-6" }, "unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" }, - "writing": { "model": "bailian-coding-plan/kimi-k2.5" } + "writing": { "model": "google/gemini-3-flash" } }, "git_master": { "commit_footer": false, diff --git a/opencode.jsonc b/opencode.jsonc index 868f7cc..7b96974 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -78,14 +78,21 @@ } } }, - "bailian-coding-plan": { - "npm": "@ai-sdk/anthropic", - "name": "Model Studio Coding Plan", + "litellm": { + "npm": "@ai-sdk/openai", "options": { - "baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1", - "apiKey": "{env:BAILIAN_API_KEY}" + "baseURL": "{env:LITELLM_BASE_URL}/v1", + "apiKey": "{env:LITELLM_API_KEY}" }, "models": { + // Grok + "grok-code-fast-1": { + "name": "Grok Code Fast 1", + "reasoning": true, + "modalities": { "input": ["text"], "output": ["text"] }, + "limit": { "context": 256000, "output": 10000 } + }, + // GLM "glm-5": { "name": "GLM-5", From fc15e5d63fcace46395e72097fa0634883a11e52 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 4 Mar 2026 16:40:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=20BAILIAN=5FAPI?= =?UTF-8?q?=5FKEY=20=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 1 - 1 file changed, 1 deletion(-) diff --git a/.env.example b/.env.example index 514c955..365442f 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,6 @@ # Provider LITELLM_BASE_URL=https://ai.furtherverse.com LITELLM_API_KEY= -BAILIAN_API_KEY= # MCP EXA_API_KEY= From 0c95def9f1201bbf7a56ffcb14207459d9e49558 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 4 Mar 2026 16:58:59 +0800 Subject: [PATCH 3/3] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=20VSCode=20sett?= =?UTF-8?q?ings=20=E9=85=8D=E7=BD=AE=E9=A1=B9=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8070626..4fc0dfa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,13 +1,13 @@ { - "editor.codeActionsOnSave": { - "source.fixAll.biome": "explicit", - "source.organizeImports.biome": "explicit" - }, - "editor.formatOnSave": true, "[json]": { "editor.defaultFormatter": "biomejs.biome" }, "[jsonc]": { "editor.defaultFormatter": "biomejs.biome" - } + }, + "editor.codeActionsOnSave": { + "source.fixAll.biome": "explicit", + "source.organizeImports.biome": "explicit" + }, + "editor.formatOnSave": true }