Cannot use the same tool multiple times, prompt will fall into a dead loop #1691

Closed
opened 2026-02-21 17:36:44 -05:00 by yindo · 0 comments
Owner

Originally created by @winstonsias on GitHub (Apr 1, 2024).

Originally assigned to: @Yeuoly on GitHub.

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

<=0.5.11

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

prompt: Directly use tools to generate images without answering useless content
image

✔️ Expected Behavior

Can call the tool normally every time to reply.

Or tell me how to set prompt to call the tool multiple times

Actual Behavior

Only replied once

Originally created by @winstonsias on GitHub (Apr 1, 2024). Originally assigned to: @Yeuoly on GitHub. ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version <=0.5.11 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce prompt: Directly use tools to generate images without answering useless content ![image](https://github.com/langgenius/dify/assets/2811245/266a1944-6635-4f7a-887d-be21543bc5b9) ### ✔️ Expected Behavior Can call the tool normally every time to reply. Or tell me how to set prompt to call the tool multiple times ### ❌ Actual Behavior Only replied once
yindo added the 🐞 bug label 2026-02-21 17:36:44 -05:00
yindo closed this issue 2026-02-21 17:36:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1691