diff --git a/oh-my-opencode.jsonc b/oh-my-opencode.jsonc index 176de79..7bcee3f 100644 --- a/oh-my-opencode.jsonc +++ b/oh-my-opencode.jsonc @@ -3,58 +3,53 @@ "agents": { "sisyphus": { // Primary orchestrator - // "model": "anthropic-gateway/claude-sonnet-4-5" - "model": "packycode/claude-opus-4-5-20251101" + "model": "packycode-anthropic/claude-opus-4-5-20251101" }, "prometheus": { // Strategic planning - // "model": "anthropic-gateway/claude-sonnet-4-5" - "model": "packycode/claude-opus-4-5-20251101" + "model": "packycode-anthropic/claude-opus-4-5-20251101" }, "atlas": { // Master orchestrator - // "model": "anthropic-gateway/claude-sonnet-4-5" - "model": "packycode/claude-sonnet-4-5-20250929" + "model": "packycode-anthropic/claude-sonnet-4-5-20250929" }, "oracle": { // Consultation, debugging - "model": "openai-gateway/gpt-5.2" + "model": "cpa-openai/gpt-5.2" }, "librarian": { // Docs, GitHub search - // "model": "glm-coding-plan/glm-4.7" - "model": "google-gateway/gemini-3-flash" + "model": "cpa-google/gemini-3-flash" }, "explore": { // Fast codebase grep - // "model": "opencode/gpt-5-nano" - "model": "google-gateway/gemini-3-flash" + "model": "cpa-google/gemini-3-flash" }, "multimodal-looker": { // PDF/image analysis - "model": "google-gateway/gemini-3-flash" + "model": "cpa-google/gemini-3-flash" } }, "categories": { "visual-engineering": { // 前端 UI/UX 设计任务 - "model": "google-gateway/gemini-3-pro-high" + "model": "cpa-google/gemini-3-pro-high" }, "ultrabrain": { // 深度逻辑推理、复杂架构决策 - "model": "openai-gateway/gpt-5.2-codex" + "model": "cpa-openai/gpt-5.2-codex" }, "artistry": { // 艺术创作任务 - "model": "google-gateway/gemini-3-pro-high" + "model": "cpa-google/gemini-3-pro-high" }, "quick": { // 简单快速任务 - "model": "google-gateway/gemini-3-flash" + "model": "cpa-google/gemini-3-flash" }, "writing": { // 文档写作任务 - "model": "google-gateway/gemini-3-flash" + "model": "cpa-google/gemini-3-flash" } } } diff --git a/opencode.jsonc b/opencode.jsonc index d7ce9e9..5cc787d 100644 --- a/opencode.jsonc +++ b/opencode.jsonc @@ -6,8 +6,21 @@ "small_model": "google-gateway/gemini-3-flash", "plugin": ["oh-my-opencode"], "provider": { - "anthropic-gateway": { - "name": "Anthropic Gateway", + "glm-coding-plan": { + "name": "GLM Coding Plan", + "npm": "@ai-sdk/openai-compatible", + "options": { + "baseURL": "https://api.z.ai/api/coding/paas/v4", + "apiKey": "{env:ZAI_API_KEY}" + }, + "models": { + "glm-4.7": { + "name": "GLM-4.7" + } + } + }, + "cpa-anthropic": { + "name": "CPA Anthropic", "npm": "@ai-sdk/anthropic", "options": { "baseURL": "http://10.0.1.1:8317/v1", @@ -28,8 +41,8 @@ } } }, - "google-gateway": { - "name": "Google Gateway", + "cpa-google": { + "name": "CPA Google", "npm": "@ai-sdk/google", "options": { "baseURL": "http://10.0.1.1:8317/v1beta", @@ -47,8 +60,8 @@ } } }, - "openai-gateway": { - "name": "OpenAI Gateway", + "cpa-openai": { + "name": "CPA OpenAI", "npm": "@ai-sdk/openai", "options": { "baseURL": "http://10.0.1.1:8317/v1", @@ -63,21 +76,8 @@ } } }, - "glm-coding-plan": { - "name": "GLM Coding Plan", - "npm": "@ai-sdk/openai-compatible", - "options": { - "baseURL": "https://api.z.ai/api/coding/paas/v4", - "apiKey": "{env:ZAI_API_KEY}" - }, - "models": { - "glm-4.7": { - "name": "GLM-4.7" - } - } - }, - "packycode": { - "name": "PackyCode", + "packycode-anthropic": { + "name": "PackyCode Anthropic", "npm": "@ai-sdk/anthropic", "options": { "baseURL": "https://www.packyapi.com/v1",