@ai-sdk/workflow@2.0.70
@ai-sdk/workflow 2.0.70 delivers patch fixes addressing infinite reconnection retries, streaming error handling, telemetry dispatching, and message retention.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK released patch version 2.0.70 of @ai-sdk/workflow with multiple fixes: (1) WorkflowChatTransport no longer retries indefinitely on reconnect responses missing UI message chunks; empty streams now increment maxConsecutiveErrors, whereas chunk-yielding streams advance the resume cursor and reset the counter. (2) Streamed terminal assistant responses are properly retained in conversation messages. (3) Incomplete model streams yielding no output are now reported as errors. (4) Tool input validation errors now include actionable details. (5) WorkflowAgent model call telemetry is now dispatched to globally registered integrations directly from the model step. (6) Provider-executed tool results and invalid local tool call error results are preserved on length completion. Updated dependencies include ai@7.0.138, @ai-sdk/provider-utils@5.0.59, and @ai-sdk/provider@4.0.27.
可执行摘要
Vercel AI SDK patched @ai-sdk/workflow@2.0.70 to stop infinite reconnect loops in WorkflowChatTransport on empty streams, report incomplete zero-output model streams as errors, retain streamed terminal assistant responses, preserve provider tool execution results on length completion, and route telemetry properly.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade @ai-sdk/workflow to version 2.0.70.
- Verify WorkflowChatTransport retry behavior and check maxConsecutiveErrors settings for empty reconnect streams.