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

ai@7.0.173

Vercel AI SDK 7.0.173 introduces tool approval configurations and granular timeout controls for WorkflowAgent, while fixing tool argument mutation during approval replays.

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

人类阅读

为什么值得关注

Version 7.0.173 of the Vercel AI SDK contains several key enhancements and bug fixes, primarily focusing on WorkflowAgent . Features include added support for toolApproval configuration (at the constructor or call level), which runs in workflow context and handles approved or denied calls without pausing the workflow. WorkflowAgent.generate() and .stream() now accept a granular timeout object specifying totalMs , stepMs , firstChunkMs , and chunkMs , and properly terminate model steps even if provider streams ignore abort signals. Bug fixes prevent tool arguments from mutating during approval replay due to in-place schema validation, log default step limit warnings, capture provider warnings via the SDK warning logger, and align prepareStep behavior (instructions, headers, and providerOptions merging) with ToolLoopAgent . Dependency @ai-sdk/gateway was also updated to 4.0.146.

Agent 解析

可执行摘要

Vercel AI SDK release ai@7.0.173 brings tool approval support and structured timeout objects ({ totalMs, stepMs, firstChunkMs, chunkMs }) to WorkflowAgent. It also aligns WorkflowAgent prepareStep handling with ToolLoopAgent, ensures in-place validation does not mutate approved tool arguments, and updates warning logging.

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

开发者应核对什么

  • Review WorkflowAgent configurations to leverage new structured timeout parameters (totalMs, stepMs, firstChunkMs, chunkMs) if fine-grained latency management is needed.
  • Verify tool approval handling in WorkflowAgent, taking note that toolApproval configuration now overrides tool-level needsApproval settings.
分类

标签与路由

vercelai-sdktypescript
相关信号

继续阅读