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.
Why this signal matters
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.
Actionable summary
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 usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade ai to version 6.0.289 if experiencing premature chat completions or out-of-order tool streaming callbacks on newer Node.js versions.