[BUG][AutonomousAgentLoop][tool_search 返回不相关的工具,子任务停滞而不继续]
作者: kyegomez创建于 2026年9月17日更新于 2026年9月17日
1. tool_search answers an unsatisfiable query with irrelevant tools.
There are no web/market-data tools in the catalog at all, but the search does not say so — it returns its two best lexical matches. Reproduced offline, no model involved, by doing what AutonomousAgentLoop._run_autonomous_loop does at swarms/agents/autonomous_loop.py:314-320:
from unittest.mock import patch
from swarms.structs.agent import Agent
from swarms.agents.autonomous_loop import ALWAYS_LOADED_TOOLS
from swarms.structs.autonomous_loop_utils import get_autonomous_planning_tools内容来源: kyegomez/swarms