From fcca563b98328344e994441bbd3013dd36eee4ed Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 26 Jan 2026 21:03:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E6=A0=87=E8=AF=86=E7=AC=A6=E5=B9=B6=E6=B8=85=E7=90=86?= =?UTF-8?q?=E6=97=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新模型标识符,将所有使用 `cpa-openai` 前缀的模型改为 `packy-openai` 前缀。 - 移除CPA OpenAI相关配置,保留Packy OpenAI配置 --- oh-my-opencode.jsonc | 4 ++-- opencode.jsonc | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/oh-my-opencode.jsonc b/oh-my-opencode.jsonc index 986632e..6aa79e8 100644 --- a/oh-my-opencode.jsonc +++ b/oh-my-opencode.jsonc @@ -15,7 +15,7 @@ }, "oracle": { // Consultation, debugging - "model": "cpa-openai/gpt-5.2" + "model": "packy-openai/gpt-5.2" }, "librarian": { // Docs, GitHub search @@ -35,7 +35,7 @@ "model": "cpa-google/gemini-3-pro-high" }, "ultrabrain": { - "model": "cpa-openai/gpt-5.2-codex" + "model": "packy-openai/gpt-5.2-codex" }, "artistry": { "model": "cpa-google/gemini-3-pro-high" diff --git a/opencode.jsonc b/opencode.jsonc index 2ce3319..72b182d 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -44,22 +44,6 @@ } } }, - "cpa-openai": { - "name": "CPA OpenAI", - "npm": "@ai-sdk/openai", - "options": { - "baseURL": "http://10.0.1.1:8317/v1", - "apiKey": "{env:CPA_API_KEY}" - }, - "models": { - "gpt-5.2": { - "name": "GPT-5.2" - }, - "gpt-5.2-codex": { - "name": "GPT-5.2-Codex" - } - } - }, "packy-openai": { "name": "Packy OpenAI", "npm": "@ai-sdk/openai",