Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent tool process detail not displayed #12125

Closed
5 tasks done
leslie2046 opened this issue Dec 26, 2024 · 2 comments · Fixed by #12184
Closed
5 tasks done

Agent tool process detail not displayed #12125

leslie2046 opened this issue Dec 26, 2024 · 2 comments · Fixed by #12184
Labels
🐞 bug Something isn't working

Comments

@leslie2046
Copy link
Contributor

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

0.14.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

  1. Enter to studio
  2. Enter to a agent app
  3. Ask a question to use tool

✔️ Expected Behavior

图片

❌ Actual Behavior

图片

@dosubot dosubot bot added the 🐞 bug Something isn't working label Dec 26, 2024
Copy link

dosubot bot commented Dec 26, 2024

If the agent tool process details are not being displayed as expected in the Dify agent app, there are several potential reasons and solutions to consider:

  1. Tool Identity Not Set: Ensure that the tool's identity is correctly set. If not, a ValueError might be raised, preventing the tool from being invoked [1].

  2. Credential Issues: Verify that the tool provider credentials are correct. Any issues here could lead to a ToolProviderCredentialValidationError, which would stop the tool from functioning properly [1].

  3. Tool Not Found or Unsupported: Check if the tool is correctly configured and supported. If the tool is not found or unsupported, it will not display the process details [1].

  4. Parameter Validation: Ensure that the tool parameters are valid. Incorrect parameters can cause a ToolParameterValidationError, which would prevent the tool from executing [1].

  5. Error Handling: Review the error handling mechanisms in place. The system can automatically retry operations or use predefined error handling strategies like default values or fail branches to manage errors without stopping the workflow [2][3].

  6. Logging and Debugging: Enable debugging to get more insights. The DifyAgentCallbackHandler class provides logging for tool execution, which can help diagnose issues if dify_config.DEBUG is set to True [4].

By checking these areas, you should be able to identify and resolve the issue with the tool process detail display in the Dify agent app.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@hjlarry
Copy link
Contributor

hjlarry commented Dec 28, 2024

I can't reproduce it on the newest main branch

leslie2046 added a commit to leslie2046/dify that referenced this issue Dec 28, 2024
@leslie2046 leslie2046 mentioned this issue Dec 28, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants