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

ai@7.0.154

Vercel AI SDK 7.0.154 adds new error handling callbacks (onStepError, onError, onAbort), experimental steering capabilities, and telemetry improvements including an aiVersion attribute.

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

人类阅读

为什么值得关注

Vercel released ai@7.0.154 containing several patch changes. It introduces the onStepError callback to generateText, streamText, ToolLoopAgent, and telemetry integrations, alongside onError and onAbort callbacks specifically for ToolLoopAgent. Additionally, experimental steering has been added to generateText, streamText, and ToolLoopAgent. Telemetry events now include aiVersion to allow tracing-channel subscribers and telemetry integrations to determine the emitting ai package version in bundled or multi-version environments. Internal dependencies @ai-sdk/provider-utils and @ai-sdk/gateway were updated.

Agent 解析

可执行摘要

ai@7.0.154 introduces onStepError to generateText, streamText, and ToolLoopAgent; adds onError and onAbort to ToolLoopAgent; adds experimental steering to text generation and ToolLoopAgent; and includes aiVersion in telemetry events.

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

开发者应核对什么

  • Adopt onStepError in generateText, streamText, or ToolLoopAgent if step-level failure handling is required.
  • Implement onError and onAbort callbacks when managing ToolLoopAgent execution lifecycles.
  • Evaluate experimental steering options in generateText, streamText, and ToolLoopAgent if dynamic steering is needed.
  • Update telemetry integrations or tracing-channel listeners to leverage the new aiVersion attribute.
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读