feat(org): add balanced role-to-model mapping v0.1

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
parent 689105ee10
commit e2ed120a52
2 changed files with 93 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
{
"version": "agent-model-mapping-v0.1",
"updated_at": "2026-03-09T13:35:00+08:00",
"global": {
"default_primary": "sub2api/gpt-5.3-codex",
"fallback": "lkeap/minimax-m2.5",
"strategy": "balanced"
},
"roles": {
"val": {
"primary": "sub2api/gpt-5.3-codex",
"thinking": "low",
"use_for": ["orchestration", "user_communication", "result_synthesis"]
},
"helix": {
"primary": "lkeap/kimi-k2.5",
"secondary": "sub2api/gpt-5.3-codex",
"thinking": "medium",
"use_for": ["task_decomposition", "planning", "long_context_structuring"]
},
"sentinel": {
"primary": "lkeap/glm-5",
"secondary": "sub2api/gpt-5.3-codex",
"thinking": "medium",
"use_for": ["audit", "risk_check", "policy_validation"]
},
"anvil": {
"primary": "lkeap/minimax-m2.5",
"secondary": "sub2api/gpt-5.3-codex",
"thinking": "low",
"use_for": ["implementation", "automation", "artifact_delivery"]
}
},
"routing_rules": [
{
"when": "complexity=simple",
"preferred": ["val", "anvil"],
"escalate_to": null
},
{
"when": "complexity=medium",
"preferred": ["helix", "sentinel", "anvil"],
"escalate_to": null
},
{
"when": "complexity=complex",
"preferred": ["helix", "sentinel", "anvil"],
"escalate_to": "sub2api/gpt-5.3-codex"
}
],
"manual_switch": {
"enabled": true,
"note": "User explicit instruction overrides role mapping immediately."
}
}
+38
View File
@@ -0,0 +1,38 @@
# Agent 模型映射 v0.1Balanced
## 默认策略
- 主模型:`sub2api/gpt-5.3-codex`
- 全局 fallback`lkeap/minimax-m2.5`
- 原则:复杂任务优先质量,常规任务优先性价比
## 角色映射
- **Val**
- primary: `sub2api/gpt-5.3-codex`
- thinking: low
- 场景:调度、沟通、收敛汇报
- **Helix**
- primary: `lkeap/kimi-k2.5`
- secondary: `sub2api/gpt-5.3-codex`
- thinking: medium
- 场景:规划拆解、长上下文整合
- **Sentinel**
- primary: `lkeap/glm-5`
- secondary: `sub2api/gpt-5.3-codex`
- thinking: medium
- 场景:审计、风险核验、规则一致性检查
- **Anvil**
- primary: `lkeap/minimax-m2.5`
- secondary: `sub2api/gpt-5.3-codex`
- thinking: low
- 场景:工程执行、自动化、产物交付
## 复杂度路由建议
- simpleVal / Anvil
- mediumHelix → Sentinel → Anvil
- complex:优先 Helix/Sentinel/Anvil,必要时升级到 `sub2api/gpt-5.3-codex`
## 手动覆盖规则
- 谷老板明确指定模型时,立即覆盖当前角色默认映射。