[KongchangAI]
Concept

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)

Oct 12

Fixed the retry logic of WorkflowChatTransport: when a reconnect request returns successfully but contains no UI message chunk, it previously fell into infinite retries.

Unverified50%
Oct 12

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.

Unverified50%
Sep 15

@ai-sdk/workflow@2.0.33 adds a browser-safe client entry point for WorkflowChatTransport (commit 0916fe8).

Unverified50%
Sep 15

WorkflowChatTransport is a transport-layer abstraction connecting workflows with chat interfaces, responsible for passing message streams between client and server.

Unverified50%
Sep 15

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.

Unverified50%

All Facts (5)

Source Articles