WorkflowChatTransport
A transport-layer abstraction in the Vercel AI SDK workflow module responsible for passing message streams between the client and server, connecting workflows to the chat interface.
Timeline (last 90 days)
Fixed the retry logic of WorkflowChatTransport: when a reconnect request returns successfully but contains no UI message chunk, it previously fell into infinite retries.
The fix is to have empty streams also count toward maxConsecutiveErrors: even if it succeeds at the HTTP level, as long as no actual content is delivered it is accumulated as an error.
@ai-sdk/workflow@2.0.33 adds a browser-safe client entry point for WorkflowChatTransport (commit 0916fe8).
WorkflowChatTransport is a transport-layer abstraction connecting workflows with chat interfaces, responsible for passing message streams between client and server.
Prior to this fix, the WorkflowChatTransport entry point mixed references to Node.js native modules, causing errors or unnecessary polyfills to be introduced when bundled by frontend build tools such as Vite or webpack.
All Facts (5)
Fixed the retry logic of WorkflowChatTransport: when a reconnect request returns successfully but contains no UI message chunk, it previously fell into infinite retries.
50%UnverifiedThe fix is to have empty streams also count toward maxConsecutiveErrors: even if it succeeds at the HTTP level, as long as no actual content is delivered it is accumulated as an error.
50%Unverified@ai-sdk/workflow@2.0.33 adds a browser-safe client entry point for WorkflowChatTransport (commit 0916fe8).
50%UnverifiedWorkflowChatTransport is a transport-layer abstraction connecting workflows with chat interfaces, responsible for passing message streams between client and server.
50%UnverifiedPrior to this fix, the WorkflowChatTransport entry point mixed references to Node.js native modules, causing errors or unnecessary polyfills to be introduced when bundled by frontend build tools such as Vite or webpack.
50%