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.
https://dify.ai
Other
45.3k stars 6.36k forks source link

Error is displayed in selecting the tool for the Agent APP #7519

Closed asemandeveloper closed 1 week ago

asemandeveloper commented 3 weeks ago

Self Checks

Dify version

0.7.1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

When I run DIFY as Local Source Code. In the agent APP, when selecting the tools for add a tool, an error is displayed in selecting. See the pictures below.

image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dosubot[bot] commented 3 weeks ago

The error displayed when selecting a tool in the Agent APP of DIFY version 0.7.1 running as a self-hosted source can be one of the following, depending on the specific issue encountered:

  1. ToolProviderCredentialValidationError:

    "Please check your tool provider credentials"
  2. ToolNotFoundError, ToolNotSupportedError, ToolProviderNotFoundError:

    "there is not a tool named {tool.identity.name}"
  3. ToolParameterValidationError:

    "tool parameters validation error: {e}, please check your tool parameters"
  4. ToolInvokeError:

    "tool invoke error: {e}"
  5. ToolEngineInvokeError:

    "tool invoke error: {meta.error}"
  6. General Exception:

    
    "unknown error: {e}"
    ```<sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/tools/tool_engine.py)</sup>

To continue talking to Dosu, mention @dosu.

crazywoola commented 3 weeks ago

Can't reproduce this one as well.

image