From b842500b40717534e2e47a14ad463291b54b6601 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 26 Jan 2026 16:12:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=B7=BB=E5=8A=A0=20PackyCode=20?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将多个代理的模型配置从 claude-sonnet-4-5 更新为指定的最新版本模型。 - 添加 PackyCode 服务配置,支持 Claude Opus 4.5 和 Claude Sonnet 4.5 模型。 --- oh-my-opencode.jsonc | 9 ++++++--- opencode.jsonc | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/oh-my-opencode.jsonc b/oh-my-opencode.jsonc index 2aa22dc..176de79 100644 --- a/oh-my-opencode.jsonc +++ b/oh-my-opencode.jsonc @@ -3,15 +3,18 @@ "agents": { "sisyphus": { // Primary orchestrator - "model": "anthropic-gateway/claude-sonnet-4-5" + // "model": "anthropic-gateway/claude-sonnet-4-5" + "model": "packycode/claude-opus-4-5-20251101" }, "prometheus": { // Strategic planning - "model": "anthropic-gateway/claude-sonnet-4-5" + // "model": "anthropic-gateway/claude-sonnet-4-5" + "model": "packycode/claude-opus-4-5-20251101" }, "atlas": { // Master orchestrator - "model": "anthropic-gateway/claude-sonnet-4-5" + // "model": "anthropic-gateway/claude-sonnet-4-5" + "model": "packycode/claude-sonnet-4-5-20250929" }, "oracle": { // Consultation, debugging diff --git a/opencode.jsonc b/opencode.jsonc index ecdc6d3..e8d8444 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -75,6 +75,22 @@ "name": "GLM-4.7" } } + }, + "packycode": { + "name": "PackyCode", + "npm": "@ai-sdk/anthropic", + "options": { + "baseURL": "https://www.packyapi.com/v1", + "apiKey": "{env:PACKY_API_KEY}" + }, + "models": { + "claude-opus-4-5": { + "name": "Claude Opus 4.5" + }, + "claude-sonnet-4-5": { + "name": "Claude Sonnet 4.5" + } + } } } }