ai@6.0.286
Vercel AI SDK 6.0.286 delivers multiple fixes for streaming, tool loops, pending approval tracking, and prompt attachment cancellation on abort.
Why this signal matters
Vercel AI SDK release ai@6.0.286 contains several patch fixes across core streaming and tool execution logic: preserves provider metadata when simulating text streams; accurately reports the prepareStep model in streamed step results; resolves unhandled rejections when reading UI message streams terminates prematurely; retains tool calls necessary for pending approvals; cancels prompt attachment downloads if model calls time out or abort; enables streaming of null and empty string JSON partial outputs; and ensures structured output is streamed from the final step of a tool loop.
Actionable summary
Vercel AI SDK release ai@6.0.286 fixes metadata preservation during text stream simulation, step result model reporting in prepareStep, unhandled rejections upon early stream cancellation, pending approval tool call retention, prompt attachment download cancellation on abort/timeout, and structured JSON output streaming.
- Agent usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade to ai@6.0.286 to apply fixes for stream cancellations, tool-loop structured output, and attachment download abort handling.