PaiaHuai
PaiaHuai
https://api-docs.deepseek.com/zh-cn/guides/thinking_mode#%E5%B7%A5%E5%85%B7%E8%B0%83%E7%94%A8 我也遇到了,导致问题的原因是deepseek要求传工具调用时的reasoning_content
@ld555 尝试调大Agent的工具最大调用次数maxIters。 我测试发现,达到工具最大调用次数后,框架会提示模型“You have failed to generate response within the maximum iterations. Now respond directly by summarizing the current situation.”,DeepSeek模型收到这条提示后就会返回DSML标记。
@zouyx 可以设置HarnessAgent的maxIters为1,找一个会多次调用工具的场景,就能复现出来了 AgentScope版本:2.0.0 使用模型:deepseek-v4-pro