Skip to content

Agent putout the output of workflow-tool twice #26835

Description

@zhangpeng00247944

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

1、Define a workflow, and publish it as a tool
2、Define an agent, and add the tool to agent
3、Ask agent some question , agent will call the tool

✔️ Expected Behavior

Agent putout the output of workflow-tool only once, when agent calls workflow-tool

❌ Actual Behavior

As pic below, agent putout the output of workflow-tool twice, when agent calls workflow-tool

Image

Activity

  1. added
    🐞 bug
    on Oct 13, 2025
  2. Moiyu1998 commented on Oct 14, 2025

    @Moiyu1998

    I have encountered the same issue, and it still hasn't been resolved.

  3. redSun64 commented on Oct 16, 2025

    @redSun64
    Contributor

    I reproduced this scenario, let me try to fix it

    Image
  4. redSun64 commented on Oct 18, 2025

    @redSun64
    Contributor

    I think this is another problem caused by "issue: #6924 pr: #7027"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions