ai@6.0.289
Vercel AI SDK 6.0.289 resolves premature chat completions from preliminary tool outputs, out-of-order streaming callbacks in newer Node.js versions, and duplicate request content types.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK release ai@6.0.289 introduces several targeted bug fixes. It prevents preliminary tool outputs from prematurely completing chats and ensures streamed tool input callbacks execute sequentially on newer Node.js versions by awaiting start and delta callbacks prior to invoking onInputAvailable. Additionally, it preserves opaque file URI strings during provider serialization and fixes duplicate Content-Type headers in chat transport requests. It also updates internal dependencies for @ai-sdk/provider, @ai-sdk/gateway, and @ai-sdk/provider-utils.
可执行摘要
Patch ai@6.0.289 prevents early chat completions triggered by preliminary tool outputs, fixes race conditions in streamed tool input callbacks by awaiting start and delta before onInputAvailable, preserves opaque file URI strings during provider serialization, and strips duplicate content-type headers.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade ai to version 6.0.289 if experiencing premature chat completions or out-of-order tool streaming callbacks on newer Node.js versions.