ai@7.0.112
Vercel AI SDK 7.0.112 fixes UI message validation, reasoning file pruning, provider file URI serialization, and adds consumer cancellation reporting in UI message stream callbacks.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK patch release ai@7.0.112 introduces a new feature and several bug fixes. It adds support for reporting consumer cancellations in UI message stream end callbacks. Fixes include: pruning reasoning file parts upon reasoning removal, preserving opaque file URI strings for provider serialization, and retaining parsed metadata and data values during UI message validation. It also bumps dependencies @ai-sdk/gateway to 4.0.90, @ai-sdk/provider to 4.0.18, and @ai-sdk/provider-utils to 5.0.46.
可执行摘要
ai@7.0.112 adds consumer cancellation reporting to UI message stream end callbacks, prunes reasoning file parts when removing reasoning, preserves opaque file URI strings during provider serialization, and maintains parsed metadata and data values during UI message validation.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to ai@7.0.112 if relying on stream end callbacks for cancellation handling or needing UI message metadata/data preservation fixes.