Runze Su
Results
comments of
Runze Su
补充: 结合 ai 分析, 问题很可能出在工具调用的 prompt 上 https://github.com/AstrBotDevs/AstrBot/blob/7c185f8e40ae1b2e974f7ce5cffce6b0fc47da7b/astrbot/core/astr_main_agent_resources.py#L25-L35 这里要求 ai 必须返回一点东西, 我不知道为什么要这样写, agent 连续调用很多次工具而不产生回复是很正常的行为
看起来是旧版本的上下文污染了