-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Bug]: Flash executor 不调用 MCP 工具,Planner 结论丢失工具列表导致 executor 摆烂 #4830
Copy link
Copy link
Open
Labels
agentCore agent loop (internal/agent, internal/control)Core agent loop (internal/agent, internal/control)bugSomething isn't workingSomething isn't workingmcpMCP servers / plugins (internal/plugin, codegraph)MCP servers / plugins (internal/plugin, codegraph)v2Go rewrite (1.x) — main-v2 branch, active developmentGo rewrite (1.x) — main-v2 branch, active developmentwindowsWindows-specificWindows-specific
Metadata
Metadata
Assignees
Labels
agentCore agent loop (internal/agent, internal/control)Core agent loop (internal/agent, internal/control)bugSomething isn't workingSomething isn't workingmcpMCP servers / plugins (internal/plugin, codegraph)MCP servers / plugins (internal/plugin, codegraph)v2Go rewrite (1.x) — main-v2 branch, active developmentGo rewrite (1.x) — main-v2 branch, active developmentwindowsWindows-specificWindows-specific
Version line
v2 — Go rewrite (1.x), main-v2 (active development)
Exact version
1.9.1
What happened?
Version: v2 v1.9.1
现象:
双模型(planner=pro / executor=flash)下,Flash 完全不调 MCP,
Planner 结论里没有工具调用 → Flash 跟着摆烂 → 开始编"服务器不通"。
确认配置没问题:11 个 MCP 全在线。直接对 Flash 说
"列出可用 MCP 工具,选一个调"就能正常用。
复现:随便一个需要工具的 prompt,等 Planner 出计划后看 Flash 装死。
临时绕过:告诉 Flash "用 tools/list 列出所有工具,然后重新回答"。
推测根因:Planner 阶段上下文 compaction 后工具列表丢了,
executor 继承了错误的上下文且不自查 tools/list。
Steps to reproduce
配置双模型:planner_model = "deepseek-v4-pro", default_model = "deepseek/deepseek-v4-flash",11 个 MCP 服务器正常在线
发起需要 MCP 工具的任务,例如"查看 GitHub 上 Reasonix 的讨论区"
观察 Flash executor——不调用任何 MCP 工具,开始编造"服务器不通""暂未开放"等借口。但如果直接对 Flash 说"用 tools/list 列出可用工具,选一个调",则完全正常
OS / platform
win10
Relevant logs or output