subagent wokflows
This commit is contained in:
@@ -13,3 +13,14 @@ Use the subagent tool with a chain to plan (but NOT implement) the following:
|
||||
```
|
||||
|
||||
Present the plan and the review to me. Do NOT proceed to implementation.
|
||||
|
||||
## Agent Failure and Fallback
|
||||
|
||||
If any agent returns empty output or an error (rate limit, credit exhaustion, connection failure):
|
||||
|
||||
1. Retry once with the same agent.
|
||||
2. If still failing, retry with the cross-family fallback using the `model` override:
|
||||
- scout (zai/glm-4.7-flash fails) → `model: "anthropic/claude-haiku-4-5"`
|
||||
- planner (zai/glm-5.1 fails) → `model: "anthropic/claude-opus-4-6"`
|
||||
- plan-reviewer (anthropic/claude-opus-4-6 fails) → `model: "zai/glm-5.1"`
|
||||
3. If the fallback also fails, do the work yourself and tell me which agent failed and why.
|
||||
|
||||
Reference in New Issue
Block a user