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

In Agent model ,when the custom tool responds with too large data to be processed, with 'It seems like you want me to continue an interaction but haven't provided the initial' #10909

Open
5 tasks done
qq583336273 opened this issue Nov 20, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@qq583336273
Copy link

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.9.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

In Agent model ,when the custom tool responds with too large data to be processed, with 'It seems like you want me to continue an interaction but haven't provided the initial'

✔️ Expected Behavior

show me the data,but it doesn't work

❌ Actual Behavior

show with 'It seems like you want me to continue an interaction but haven't provided the initial' or something else

Copy link

dosubot bot commented Nov 20, 2024

@qq583336273 Hello there! I'm here to help you with any bugs, questions, or contributions you might have. I'll be assisting you while we wait for a human maintainer.

I found a similar unsolved discussion that might be related to your issue: Help on Tools response when failed, which was last updated on November 19, 2024 [1].

Regarding your issue, it seems like the Dify Agent model might be encountering a problem when handling large data responses from custom tools. The error message you're seeing could be related to data size limits or handling logic within the Agent model. The logic for handling responses from custom tools is implemented in the FunctionCallAgentRunner class within the api/core/agent/fc_agent_runner.py file. This includes processing tool responses and updating the agent's thoughts accordingly [2].

Additionally, the Dify codebase includes error messages related to data size issues, such as OutputValidationError, which is raised when data exceeds predefined limits [3]. You might want to check if the data size exceeds any configured limits or if there are specific error messages in your logs that could provide more insight.

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the 🐞 bug Something isn't working label Nov 20, 2024
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

No branches or pull requests

1 participant