From 2445f8aa46a22e6431293f71ab23ec4acaabfca8 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sat, 17 Jan 2026 03:17:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E4=B8=8E=E7=BD=91=E5=85=B3=E9=85=8D=E7=BD=AE=E8=87=B3=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新模型和网关配置,将模型标识符和网关基础URL升级为最新版本,并移除已废弃的模型选项。 --- opencode.jsonc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/opencode.jsonc b/opencode.jsonc index f207057..03c04a3 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -2,8 +2,8 @@ "$schema": "https://opencode.ai/config.json", "autoupdate": "notify", "theme": "tokyonight", - "model": "gateway/claude-sonnet-4-5", - "small_model": "gateway/gemini-3-flash", + "model": "anthropic-gateway/claude-sonnet-4-5", + "small_model": "google-gateway/gemini-3-flash", "plugin": [ "@tarquinen/opencode-dcp@latest", "@franlol/opencode-md-table-formatter@latest" @@ -52,7 +52,7 @@ "name": "Google Gateway", "npm": "@ai-sdk/google", "options": { - "baseURL": "http://10.0.1.1:8317/v1", + "baseURL": "http://10.0.1.1:8317/v1beta", "apiKey": "{env:CPA_API_KEY}" }, "models": { @@ -64,12 +64,6 @@ }, "gemini-3-flash": { "name": "Gemini 3 Flash" - }, - "gpt-5.2": { - "name": "GPT-5.2" - }, - "gpt-5.2-codex": { - "name": "GPT-5.2-Codex" } } },