- execute_tool_calls 循环内改为收集 pending_tool_system_messages, 整轮工具结束后统一注入,避免并行 tool_calls 中途插入 user 消息 - terminate_sub_agent handler 摘除结果中的 system_message, 主智能体自行终结子智能体时不再注入冗余 user 消息 |
||
|---|---|---|
| .. | ||
| main_terminal_parts | ||
| main_terminal.py | ||
| tool_config.py | ||
| web_terminal.py | ||