Replies: 1 comment
-
Are you using AssistantAgent? For now, if you need to manage custom errors it's better to write your own agent, and manage the tool call loop yourself |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Sometimes the LLM "forgets" to pass a required argument of the tool. This raises an error like this:
This is some pydantic error caused by some evaluation that fails because the missing argument is not provided. How can I catch this and raise my own error with a more meaningful response?
Beta Was this translation helpful? Give feedback.
All reactions