-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Override maxToolRoundtrips per tool call #2693
Labels
Comments
Solved it for now by setting
|
Another convo to do that on the server #1943 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Description
Following this Twitter discussion: https://x.com/blechatellier/status/1823688077006790917 with @lgrammel
It would be great to allow setting a tool call result (on either the server or client) while controlling whether to automatically trigger another call to the LLM.
This use case involves rendering a custom UI component on the client using the tool call result, without needing a roundtrip to the LLM. However, it should still allow multiple roundtrips for other tools.
One possible solution could be overriding maxToolRoundtrips per tool call, or passing a flag to addToolResult on the client side to prevent triggering another LLM call. A similar mechanism would be needed on the server if the tool call is running via the execute method.
Or maybe exposing
triggerRequest
so I can recall the LLM for some specific tools only.The text was updated successfully, but these errors were encountered: