配置: 初始化 ISOS Agent Teams 软件研发模板
CI / lint (push) Successful in 6s

This commit is contained in:
2026-04-19 21:47:08 +08:00
parent 3ab6fe6504
commit 34346be862
202 changed files with 23544 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
name: SubAgent 替代方案
description: GLM 环境下 Agent tool SubAgent 不可用时的替代方案:通过 tmux 创建独立 pane 执行并行任务
type: feedback
originSessionId: 6ac4a596-249e-45e3-bda1-6749001cc67c
---
当需要 SubAgent 但遇到 "模型不存在" 错误时,优先检查模型代码是否正确,再考虑 tmux 替代方案。
**Why:** `ANTHROPIC_DEFAULT_HAIKU_MODEL` 曾配置为 `4.5-air`(缺少 `glm-` 前缀),GLM API 报错 code 1211。已修正为 `glm-4.5-air`。Explore agent 默认使用 haiku 层级,因此最容易触发此错误。
**How to apply:**
1. Agent tool 报 1211 错误时,先检查对应层级的模型代码是否在 GLM API 上有效(`curl https://open.bigmodel.cn/api/paas/v4/models`
2. 如确认模型不可用,用 tmux pane 替代:`tmux split-window` → 新 pane 启动 `cc` → 文件系统协调结果
3. 简单任务直接用 Grep/Read 工具串行执行,无需创建 pane
相关工具:
- `/isos-tmux-team` 命令可创建 4-pane 团队布局(PM + Agent-A + Agent-B + Ops
- `scripts/tmux-team.sh` 底层实现脚本