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

ai@7.0.160

Vercel AI SDK 7.0.160 introduces steering.queue() for delayed messaging, fixes a dataPartSchemas validation bug in useChat, and clarifies smoothStream error messaging.

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

人类阅读

为什么值得关注

Vercel AI SDK release ai@7.0.160 includes several fixes and additions: (1) Added steering.queue() to send a message once the current task finishes. (2) Fixed an issue where processUIMessageStream queried dataPartSchemas using full chunk types (e.g., data-weather ) instead of the bare name ( weather ), meaning streamed data parts were bypassed in useChat / Chat ; invalid parts will now trigger a TypeValidationError . (3) Clarified the inverted smoothStream prefix error message. (4) Updated dependencies, including @ai-sdk/gateway@4.0.133 .

Agent 解析

可执行摘要

Vercel AI SDK release ai@7.0.160 adds steering.queue() to send messages after task completion, fixes streamed data part validation against dataPartSchemas (raising TypeValidationError on failure), and clarifies the inverted smoothStream prefix error message.

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

开发者应核对什么

  • Verify client-side handling of TypeValidationError in useChat or Chat components, as invalid streamed data parts will now throw errors instead of passing unvalidated.
  • Upgrade to ai@7.0.160 if using steering queues or custom dataPartSchemas .
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读