Skip to content

use tool is slow #18894

@wanshichenguang

Description

@wanshichenguang

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Using custom tools in chatflow or agent is very slow. When I call them with Postman or Python code, I get the result about 100ms, but in Dify it takes 5 seconds to get the result.

✔️ Expected Behavior

Speed up the tool usage.

❌ Actual Behavior

Using custom tools in chatflow or agent is very slow. When I call them with Postman or Python code, I get the result about 100ms, but in Dify it takes 5 seconds to get the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed🔨 feat:toolsTools for agent, function call related stuff.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions