You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a zod schema validation error occurs in a streamUI tool-call, the nearest ErrorBoundary is triggered but the error is also thrown to parent scope.
Am I missing something or it just what it's not supposed to do as specified here ?
Description
When a zod schema validation error occurs in a
streamUI
tool-call, the nearest ErrorBoundary is triggered but the error is also thrown to parent scope.Am I missing something or it just what it's not supposed to do as specified here ?
ai/packages/core/rsc/stream-ui/stream-ui.tsx
Lines 369 to 370 in 68d1f78
Code example
Additional context
I tried to catch this error at different levels (server action & client side), but its not working.
The text was updated successfully, but these errors were encountered: