What happens when a tool throws an error? #3238
Unanswered
abaybektursun
asked this question in
Help
Replies: 2 comments 1 reply
-
I faced the same issue, this is a big in my opinion @lgrammel Errors thrown in tools are completely suppressed and don’t show any logs |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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