dify
dify copied to clipboard
Value error, When using tool_choice, tools must be set.
Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [X] Please do not modify this template :) and fill in all the required fields.
Dify version
0.15.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Agent cannot call tools. Except for the first conversation, it seems that the tools parameter was not included in the subsequent conversations. Model error: Value error, When using tool_choice, tools must be set.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response