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
Currently if there is a zod schema validate error or a toolcall response error (such as generating a sensitive image using dalle), using streamText 's with experimental_toolCallStreaming option enabled, the error will be streamed as content, however there are no errors thrown, either from the server's side or the useChat's (react) return of error value.
Code example
No response
Additional context
Here is the ai-sdk packages version
"@ai-sdk/openai": "^0.0.37",
"@ai-sdk/react": "^0.0.25",
"@ai-sdk/ui-utils": "^0.0.16",
The text was updated successfully, but these errors were encountered:
Description
Currently if there is a zod schema validate error or a toolcall response error (such as generating a sensitive image using dalle), using
streamText
's withexperimental_toolCallStreaming
option enabled, the error will be streamed as content, however there are no errors thrown, either from the server's side or theuseChat's
(react) return oferror
value.Code example
No response
Additional context
Here is the ai-sdk packages version
"@ai-sdk/openai": "^0.0.37",
"@ai-sdk/react": "^0.0.25",
"@ai-sdk/ui-utils": "^0.0.16",
The text was updated successfully, but these errors were encountered: