ai@7.0.123
Vercel AI SDK 7.0.123 introduces SSE heartbeats to prevent idle UI streams from closing, alongside fixes for tool pruning, tool approval overrides, and reasoning tag streaming.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK version 7.0.123 delivers several patch updates across streaming and tool execution. Key fixes include adding optional Server-Sent Events (SSE) heartbeats to keep idle UI message streams open, ignoring pending tool approvals when superseded by subsequent user messages, properly pruning all tool content when retaining zero trailing messages, and preserving partial reasoning tags across streamed text part boundaries. Internally, package builds have migrated from tsup to tsdown, and several @ai-sdk core dependencies were updated.
可执行摘要
ai@7.0.123 fixes idle UI stream closures via optional SSE heartbeats, properly handles superseded tool approvals, preserves partial reasoning tags, prunes tool content when zero trailing messages are retained, and migrates build tooling to tsdown.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade ai to 7.0.123 if experiencing closed connections during idle UI streaming or tool approval state conflicts.
- Evaluate configuring optional SSE heartbeats if idle UI connections are prematurely terminating in production.