langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

Home Page:https://dify.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to get tool runtime: tool parameter require_summary not found in tool config

0sengseng0 opened this issue · comments

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).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.11

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image
image

✔️ Expected Behavior

DuckDuckSearch doesn't work in my workflow

❌ Actual Behavior

Failed to get tool runtime: tool parameter require_summary not found in tool config

To resolve the error "Failed to get tool runtime: tool parameter require_summary not found in tool config" in Dify version 0.6.11, you need to ensure that the require_summary parameter is defined in the tool configuration.

Add the following parameter to your tool configuration:

{
  "tool_parameters": {
    "require_summary": {
      "type": "constant",
      "value": "true"
    }
  }
}

Include this parameter in the tool_parameters section of your tool configuration. This should resolve the error and allow the workflow to execute successfully [1].

To continue talking to Dosu, mention @dosu.

this error fixed by #5303 in dify v0.6.12, you could upgrade to the latest version.