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

View File

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