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.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
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.
可执行摘要
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 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to ai@6.0.286 to apply fixes for stream cancellations, tool-loop structured output, and attachment download abort handling.