Unnecessary 'Action:' text when using dataset #1585

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

Originally created by @lancemao on GitHub (Mar 26, 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.10

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

When using dataset (with Gemini), it returns unnecessary 'Action:' text, please see attachment screenshot
Screenshot 2024-03-27 020721

I think this is because we have 'Action:' in our prompt so LLM is returning it as per our request. Not sure if we can simply remove it from prompt or strip it after we get the response

✔️ Expected Behavior

don't show this 'Action:' text because this is an internal information, user won't care

Actual Behavior

Unnecessary 'Action:' text is shown for each step

Originally created by @lancemao on GitHub (Mar 26, 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.10 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce When using dataset (with Gemini), it returns unnecessary 'Action:' text, please see attachment screenshot ![Screenshot 2024-03-27 020721](https://github.com/langgenius/dify/assets/5020396/77aa93b7-03e6-49af-bedb-4bdbf4e1a60d) I think this is because we have 'Action:' in our prompt so LLM is returning it as per our request. Not sure if we can simply remove it from prompt or strip it after we get the response ### ✔️ Expected Behavior don't show this 'Action:' text because this is an internal information, user won't care ### ❌ Actual Behavior Unnecessary 'Action:' text is shown for each step
yindo added the 🐞 bug label 2026-02-21 17:35:26 -05:00
yindo closed this issue 2026-02-21 17:35:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1585