chore(delegation): switch tier routing to glm/glm5/gpt4.5

This commit is contained in:
zap
2026-03-12 20:06:46 +00:00
parent 8e42bfb37a
commit 4839b33c66
5 changed files with 28 additions and 17 deletions

View File

@@ -33,14 +33,14 @@ Pick the lowest tier that safely meets quality.
- **Medium**: multi-file feature/fix, moderate debugging, synthesis across several sources.
- **Heavy**: architecture changes, ambiguous root-cause investigations, high-impact reviews, security-sensitive reasoning.
### Tier map
### Tier map (LiteLLM / aliases)
- **Light** → economy/fast tier
- Claude ACP: **Haiku 4.5**
- default target: **GLM 4.7 Flash** (`litellm/glm-4.7-flash`)
- **Medium** → balanced default
- Claude ACP: **Sonnet 4.6** (default)
- default target: **GLM 5** (`litellm/glm-5`)
- **Heavy** → top-reasoning tier
- Claude ACP: **Opus 4.6**
- default target: **GPT 4.5** (`litellm/gpt-4.5`)
Escalate only when:
- prior attempt failed quality bar,
@@ -61,35 +61,35 @@ Do not drag long conversational context into implementation if file-based handof
Use one clean spawn per coherent task (avoid noisy micro-spawns).
### Light (Claude Haiku 4.5)
### Light (GLM 4.7 Flash)
```json
{
"runtime": "acp",
"agentId": "claude",
"model": "claude-haiku-4-5",
"model": "litellm/glm-4.7-flash",
"task": "Apply a small docs wording fix in docs/README.md and return exact diff."
}
```
### Medium (Claude Sonnet 4.6, default)
### Medium (GLM 5, default)
```json
{
"runtime": "acp",
"agentId": "claude",
"model": "claude-sonnet-4-6",
"model": "litellm/glm-5",
"task": "Implement feature X across files A/B/C, run targeted tests, and summarize decisions."
}
```
### Heavy (Claude Opus 4.6)
### Heavy (GPT 4.5)
```json
{
"runtime": "acp",
"agentId": "claude",
"model": "claude-opus-4-6",
"model": "litellm/gpt-4.5",
"task": "Review architecture tradeoffs for Y, propose final design, then implement with safety checks."
}
```