Agent 基础设施官方发布自动监测

ai@7.0.170

Vercel AI SDK 7.0.170 fixes excessive CPU usage during array streaming and resolves transport leak issues when cancelling or disposing chats.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Vercel AI SDK release ai@7.0.170 introduces two key patch changes: first, it fixes excessive CPU consumption during long array streaming with Output.array or streamObject by incrementally parsing and validating only completed elements rather than reprocessing the entire accumulated array on every chunk. Second, it cancels pending send-now operations when stop or dispose is invoked, preventing abandoned chat queues and history from being inadvertently routed through a replacement transport. It also updates dependency @ai-sdk/gateway to 4.0.143.

Agent 解析

可执行摘要

ai@7.0.170 resolves a high CPU consumption issue in Output.array and streamObject via incremental parsing of completed elements, and prevents message leakage across transports by cancelling pending send-now operations on stop or dispose.

Agent 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade to ai@7.0.170 if experiencing high CPU utilization when streaming large arrays with Output.array or streamObject.
  • Update if managing chat lifecycles where stop or dispose could overlap with pending send-now operations.
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读