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

No way to stop the agent after using a tool and return the tool response #508

Open
mallahyari opened this issue Dec 20, 2024 · 1 comment

Comments

@mallahyari
Copy link

Hi there,
I was wondering how I can stop the agent after running a tool and return the value of tool call?
For example, when there are multiple tools and agent select them, and one of the tools is doing some computation and that computation is the answer. In this case, agent is trying to still use the tool returned value and generate a response. But I want to stop it and return that value as the result of the agent.

Thanks

@samuelcolvin
Copy link
Member

Should be solved by #142, which we should work on again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants