Skip to main content

2 docs tagged with "debugging"

View all tags

Handle errors in agent functions

A function fails when its code throws, when a call it makes fails and isn't caught, or when it goes past a limit. This page covers what the agent or flow sees then, the errors you're likely to meet, and how to keep the conversation going.

Test and debug agent functions

Test an agent function with the Run button while you build it, and add console logs to see what it did, both in the editor and in live conversations.