- 全局 agent_id 转为内部实现细节:由 next_free_agent_id 自动分配对话级 最小空闲正整数,不再接受模型指定、不出现在工具参数/结果文案中 - 角色内编号改为 peek + commit 两步:创建成功才消耗编号,失败不跳号 - 所有寻址类工具改用显示名:send_message/stop/terminate 传 display_name, get_sub_agent_status 传 display_names,sleep 的 wait_sub_agent_output, 子侧 ask_other_agent 传 target_display_name,answer_other_agent 去掉 source_agent_id - _run_loop 对 _call_model 增加重试:最多 5 次、间隔 10s、仅零接收时重试, 输出中断直接失败;多智能体模式下 5 次全失败转 idle 并向 Team Leader 报错 - 新增工具「正在调用」进度事件(calling),与 running/completed 共用 tool_call id,前端支持同 id 原地更新 |
||
|---|---|---|
| .. | ||
| main_terminal_parts | ||
| main_terminal.py | ||
| tool_config.py | ||
| web_terminal.py | ||