What happens when a tool throws an error? #3238
Replies: 4 comments 4 replies
-
I faced the same issue, this is a bug in my opinion Errors thrown in tools are completely suppressed and don’t show any logs |
Beta Was this translation helpful? Give feedback.
-
Can you be more specific on how you use your tools? When you throw errors in tools, they get wrapped in a https://sdk.vercel.ai/docs/reference/ai-sdk-errors/ai-tool-execution-error |
Beta Was this translation helpful? Give feedback.
-
This is happening to me. All errors are being suppressed. Incredibly frustrating. |
Beta Was this translation helpful? Give feedback.
-
Any updates here? Are we able to catch these errors and do something about them? Would be incredibly helpful... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tools that are throwing errors, for example
However, they are completely suppressed. What can I do to enable the error traces in Tool calling?
Beta Was this translation helpful? Give feedback.
All reactions