You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #478 [Agent] Allow exposing tool exceptions to AI (valtzu)
This PR was merged into the main branch.
Discussion
----------
[Agent] Allow exposing tool exceptions to AI
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| Docs? | yes
| Issues | Fix#255
| License | MIT
Make it possible to throw custom exceptions that expose the error to the LLM when using `FaultTolerantToolbox`.
Example use case: an event listener for `ToolCallArgumentsResolved` that validates the tool call arguments and throws if any violations found. Then the LLM can auto-fix the input.
Commits
-------
a06e551 [Agent] Allow exposing exceptions to AI
0 commit comments