dify icon indicating copy to clipboard operation
dify copied to clipboard

How to disable to output that used tools to in chat with agent.

Open jiusi9 opened this issue 1 year ago • 4 comments

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.12.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I did not find a way to disable this feature, when I chat with agent, it always output that how to thought and which tool was used.

I think it will be a greater feature, if agent only output a final answer.

image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

jiusi9 avatar Jan 07 '25 02:01 jiusi9

We do not support disabling this currently, only workflow/chatflow can disable the details.

crazywoola avatar Jan 07 '25 03:01 crazywoola

We do not support disabling this currently, only workflow/chatflow can disable the details.

Is any plan to support that, thanks for your help.

jiusi9 avatar Jan 07 '25 05:01 jiusi9

I'm also looking forward to customize prompt of agent.

image

jiusi9 avatar Jan 07 '25 06:01 jiusi9

Afaik, we will not touch this part until v1.0 is released.

crazywoola avatar Jan 07 '25 09:01 crazywoola

In version 1.0, custom agent strategies are supported. You can try to implement custom agent prompts with a workflow that only contains start-agent-answer when using version 1.0.

Yevanchen avatar Jan 09 '25 14:01 Yevanchen

Hi, @jiusi9. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You reported that Dify version 0.12.1 outputs detailed information during chats instead of just the final answer.
  • @crazywoola noted that only workflow/chatflow can currently disable these details, with no changes planned until version 1.0.
  • @Yevanchen mentioned that version 1.0 will support custom agent strategies, which may allow for custom prompts to address this issue.
  • You expressed interest in customizing the agent's prompt.

Next Steps

  • Please let us know if this issue is still relevant to the latest version of Dify. If so, you can keep the discussion open by commenting here.
  • Otherwise, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Feb 09 '25 16:02 dosubot[bot]