返回全部动态
Vercel AI SDK 发布 ai@7.0.162 补丁
原标题:ai@7.0.162
AI 摘要
Vercel AI SDK 发布 ai@7.0.162 补丁版本。该版本恢复了在验证工具审批续接时由服务端定义的工具元数据、动态状态和标题,使审批策略获得与新模型调用相同的工具定义字段;同时为持久化 WorkflowAgent 运行新增单一遥测操作,支持在完成或挂起时按原始时间戳上报提示、最终输出、步骤和工具事件,并提供 OpenTelemetry 桥接以跨步骤传递父级追踪上下文与采样。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 857ca45: Restore server-defined tool metadata, dynamic status, and title when validating tool approval continuations so approval policies receive the same tool definition fields as new model calls. - 4d6d830: Support a single telemetry operation for durable `WorkflowAgent` runs, including the prompt, final output, steps, and tools. Events recorded in the workflow are reported on completion or suspension with their original timestamps. For OpenTelemetry, pass the same `OpenTe
发布时间:2026-11-03 09:20
抓取时间:2026-11-03 09:24
来源机构:Vercel