ai@5.0.264
Vercel AI SDK 5.0.264 fixes an out-of-order execution bug for streamed tool input callbacks in newer Node.js versions, preserves opaque file URI strings during serialization, and removes duplicate content-type headers in chat transport requests.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
ai@5.0.264 is a patch release addressing multiple fixes across the SDK and its dependencies. Notably, it resolves an issue where streamed tool input callbacks fired out of order on newer Node.js runtimes by awaiting start and delta callbacks prior to executing onInputAvailable. Additionally, it preserves opaque file URI strings during provider serialization and prevents duplicate content-type headers in chat transport requests. Dependency bumps include @ai-sdk/provider@2.0.5, @ai-sdk/gateway@2.0.156, and @ai-sdk/provider-utils@3.0.38.
可执行摘要
Vercel AI SDK release ai@5.0.264 resolves Node.js callback ordering issues by awaiting start and delta callbacks before invoking onInputAvailable. It also fixes duplicate content types in chat transport requests and retains opaque file URI strings for provider serialization.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to ai@5.0.264 if streaming tool inputs on modern Node.js runtimes or encountering duplicated content-type headers.