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

ai@6.0.297

Vercel AI SDK 6.0.297 introduces fixes for streaming reliability, including SSE heartbeats for idle UI streams, proper encoding and validation of chat reconnection IDs, and preserved tool input across resumptions.

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

人类阅读

为什么值得关注

Vercel AI SDK patch release ai@6.0.297 addresses several stream resumption, tool execution, and connection issues. Key updates include: preserving hydrated partial static tool inputs across stream resumptions; optional SSE heartbeats to keep idle UI message streams open; URL encoding chat IDs and rejecting '.' and '..' in default stream reconnection paths; protecting prototype-named tools and providers from prototype-pollution/lookup issues; refining automatic chat resumption logic when completed tool outputs are followed by terminal text without completed stream state; and clarifying that provider-executed tool execution errors bypass UI stream onError callbacks to maintain error data.

Agent 解析

可执行摘要

ai@6.0.297 patches stream management and tool handling: preserves hydrated partial static tool inputs during resumption, adds optional SSE heartbeats to prevent idle UI stream dropouts, sanitizes/encodes default stream reconnection chat IDs, guards against prototype-named tools/providers collisions, and adjusts automatic chat resumption triggers.

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

开发者应核对什么

  • Upgrade ai to version 6.0.297 (and @ai-sdk/gateway to 3.0.206).
  • Review stream reconnection setups if utilizing chat IDs with special characters or dot paths.
  • Verify error handling for provider-executed tools, noting that their errors bypass UI stream onError to retain provider data.
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读