Replies: 1 comment 1 reply
-
To ensure that your custom tool returns directly only if no Modifying the
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
To optimize latency and token usage I need to use return direct after a tool is called, BUT it is exiting the agent even if the tool throws an exception.
I need to return directly only if an exception is not thrown.
System Info
System Information
Package Information
Beta Was this translation helpful? Give feedback.
All reactions