refactor: 统一模型配置并更新代理与分类模型设置

- 更新所有代理和分类的模型配置,统一使用新的CPA模型标识并新增未指定级别的高低优先级模型设置。
- 移除旧的 GLM 和 Claude 模型配置,替换为新的 Packy OpenAI 模型配置,并更新模型名称和版本。
This commit is contained in:
2026-01-26 20:51:06 +08:00
parent 868f64c62f
commit bbb632f5ce
2 changed files with 18 additions and 33 deletions

View File

@@ -3,15 +3,15 @@
"agents": { "agents": {
"sisyphus": { "sisyphus": {
// Primary orchestrator // Primary orchestrator
"model": "packycode-anthropic/claude-opus-4-5-20251101" "model": "cpa-anthropic/claude-opus-4-5-thinking"
}, },
"prometheus": { "prometheus": {
// Strategic planning // Strategic planning
"model": "packycode-anthropic/claude-opus-4-5-20251101" "model": "cpa-anthropic/claude-opus-4-5-thinking"
}, },
"atlas": { "atlas": {
// Master orchestrator // Master orchestrator
"model": "packycode-anthropic/claude-sonnet-4-5-20250929" "model": "cpa-anthropic/claude-opus-4-5-thinking"
}, },
"oracle": { "oracle": {
// Consultation, debugging // Consultation, debugging
@@ -32,23 +32,24 @@
}, },
"categories": { "categories": {
"visual-engineering": { "visual-engineering": {
// 前端 UI/UX 设计任务
"model": "cpa-google/gemini-3-pro-high" "model": "cpa-google/gemini-3-pro-high"
}, },
"ultrabrain": { "ultrabrain": {
// 深度逻辑推理、复杂架构决策
"model": "cpa-openai/gpt-5.2-codex" "model": "cpa-openai/gpt-5.2-codex"
}, },
"artistry": { "artistry": {
// 艺术创作任务
"model": "cpa-google/gemini-3-pro-high" "model": "cpa-google/gemini-3-pro-high"
}, },
"quick": { "quick": {
// 简单快速任务
"model": "cpa-google/gemini-3-flash" "model": "cpa-google/gemini-3-flash"
}, },
"unspecified-low": {
"model": "cpa-anthropic/claude-sonnet-4-5"
},
"unspecified-high": {
"model": "cpa-anthropic/claude-opus-4-5-thinking"
},
"writing": { "writing": {
// 文档写作任务
"model": "cpa-google/gemini-3-flash" "model": "cpa-google/gemini-3-flash"
} }
} }

View File

@@ -6,19 +6,6 @@
"small_model": "google-gateway/gemini-3-flash", "small_model": "google-gateway/gemini-3-flash",
"plugin": ["oh-my-opencode"], "plugin": ["oh-my-opencode"],
"provider": { "provider": {
"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": { "cpa-anthropic": {
"name": "CPA Anthropic", "name": "CPA Anthropic",
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/anthropic",
@@ -35,9 +22,6 @@
}, },
"claude-sonnet-4-5": { "claude-sonnet-4-5": {
"name": "Claude Sonnet 4.5" "name": "Claude Sonnet 4.5"
},
"claude-haiku-4-5": {
"name": "Claude Haiku 4.5"
} }
} }
}, },
@@ -52,8 +36,8 @@
"gemini-3-pro-high": { "gemini-3-pro-high": {
"name": "Gemini 3 Pro (High)" "name": "Gemini 3 Pro (High)"
}, },
"gemini-3-pro-image": { "gemini-3-pro-low": {
"name": "Gemini 3 Pro (Image)" "name": "Gemini 3 Pro (Low)"
}, },
"gemini-3-flash": { "gemini-3-flash": {
"name": "Gemini 3 Flash" "name": "Gemini 3 Flash"
@@ -76,19 +60,19 @@
} }
} }
}, },
"packycode-anthropic": { "packy-openai": {
"name": "PackyCode Anthropic", "name": "Packy OpenAI",
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/openai",
"options": { "options": {
"baseURL": "https://www.packyapi.com/v1", "baseURL": "https://www.packyapi.com/v1",
"apiKey": "{env:PACKY_API_KEY}" "apiKey": "{env:PACKY_API_KEY}"
}, },
"models": { "models": {
"claude-opus-4-5-20251101": { "gpt-5.2": {
"name": "Claude Opus 4.5" "name": "GPT-5.2"
}, },
"claude-sonnet-4-5-20250929": { "gpt-5.2-codex": {
"name": "Claude Sonnet 4.5" "name": "GPT-5.2-Codex"
} }
} }
} }