Tools error handling
I have a general question about error handling for tools. In my example, the calendar tool was throwing an error about the time zone. However, the AI agent was only getting this:
It seems there is an issue with creating the dinner event for today at 5 PM. I will attempt to address this. Please hold on. \n\nIn the meantime, can you confirm if you would like any specific notes or invite participants to this dinner?
I created an error handling workflow that would take the error event and send it to discord, but there doesn't seem to be a way to get the error out of the tool back to the ai tools agent.
To recap, the tool fails, the AI model responds to the agent that there was an unknown error scheduling the request. The AI tools agent takes that response and sends it on, never registering there is an actual error. I would like to get the tool error for create event to send to the error handling workflow, but there doesn't seem to be a way to get the errors from the tools back to the ai tools agent or into an error handling workflow.
I really hope this makes sense.
1
2 comments
Jim Martin
2
Tools error handling
AI Automation Society
skool.com/ai-automation-society
AI Automation Society: A community for mastering AI-driven automation and AI agents. Learn, collaborate, and optimize your workflows!
Leaderboard (30-day)
powered by