From abea1e52c095c7b148eb494d7729065bac3272a9 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 27 Feb 2026 19:34:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=BF=81=E7=A7=BB=E7=99=BE?= =?UTF-8?q?=E7=82=BC=20Coding=20Plan=20=E6=A8=A1=E5=9E=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=87=B3=20opencode=20=E4=B8=BB=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ref/bailian-coding-plan.json | 77 ----------------------------------- opencode.jsonc | 36 ++++++++++++++++ 2 files changed, 36 insertions(+), 77 deletions(-) delete mode 100644 .ref/bailian-coding-plan.json diff --git a/.ref/bailian-coding-plan.json b/.ref/bailian-coding-plan.json deleted file mode 100644 index d938f66..0000000 --- a/.ref/bailian-coding-plan.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "$schema": "https://opencode.ai/config.json", - "provider": { - "bailian-coding-plan": { - "npm": "@ai-sdk/anthropic", - "name": "Model Studio Coding Plan", - "options": { - "baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1", - "apiKey": "{env:BAILIAN_CODING_API_KEY}" - }, - "models": { - "qwen3.5-plus": { - "name": "Qwen3.5 Plus", - "modalities": { - "input": ["text", "image"], - "output": ["text"] - }, - "options": { - "thinking": { - "type": "enabled", - "budgetTokens": 1024 - } - } - }, - "qwen3-max-2026-01-23": { - "name": "Qwen3 Max 2026-01-23" - }, - "qwen3-coder-next": { - "name": "Qwen3 Coder Next" - }, - "qwen3-coder-plus": { - "name": "Qwen3 Coder Plus" - }, - "MiniMax-M2.5": { - "name": "MiniMax M2.5", - "options": { - "thinking": { - "type": "enabled", - "budgetTokens": 1024 - } - } - }, - "glm-5": { - "name": "GLM-5", - "options": { - "thinking": { - "type": "enabled", - "budgetTokens": 1024 - } - } - }, - "glm-4.7": { - "name": "GLM-4.7", - "options": { - "thinking": { - "type": "enabled", - "budgetTokens": 1024 - } - } - }, - "kimi-k2.5": { - "name": "Kimi K2.5", - "modalities": { - "input": ["text", "image"], - "output": ["text"] - }, - "options": { - "thinking": { - "type": "enabled", - "budgetTokens": 1024 - } - } - } - } - } - } -} diff --git a/opencode.jsonc b/opencode.jsonc index 9eadd53..f93e0df 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -100,6 +100,42 @@ "apiKey": "{env:BAILIAN_API_KEY}" }, "models": { + "qwen3.5-plus": { + "name": "Qwen3.5 Plus", + "reasoning": true, + "modalities": { + "input": ["text", "image", "video"], + "output": ["text"] + }, + "limit": { "context": 1000000, "output": 65536 } + }, + "qwen3-max-2026-01-23": { + "name": "Qwen3 Max 2026-01-23", + "reasoning": false, + "modalities": { + "input": ["text"], + "output": ["text"] + }, + "limit": { "context": 262144, "output": 65536 } + }, + "qwen3-coder-next": { + "name": "Qwen3 Coder Next", + "reasoning": false, + "modalities": { + "input": ["text"], + "output": ["text"] + }, + "limit": { "context": 262144, "output": 65536 } + }, + "qwen3-coder-plus": { + "name": "Qwen3 Coder Plus", + "reasoning": false, + "modalities": { + "input": ["text"], + "output": ["text"] + }, + "limit": { "context": 1000000, "output": 65536 } + }, "glm-5": { "name": "GLM-5", "reasoning": true,