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)
修复了 WorkflowChatTransport 的重试逻辑:当重连请求成功返回但不包含任何 UI message chunk 时,此前会陷入无限重试。
修复方案是让空流也计入 maxConsecutiveErrors,即使 HTTP 层面成功,只要没有实际内容送达就按错误累加。
@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)
修复了 WorkflowChatTransport 的重试逻辑:当重连请求成功返回但不包含任何 UI message chunk 时,此前会陷入无限重试。
50%Unverified修复方案是让空流也计入 maxConsecutiveErrors,即使 HTTP 层面成功,只要没有实际内容送达就按错误累加。
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%