ai@7.0.162
AI SDK 7.0.162 restores full server-defined tool metadata for approval continuations and adds durable telemetry support for WorkflowAgent runs.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK release 7.0.162 introduces two main patch updates: First, it restores server-defined tool metadata, dynamic status, and title during tool approval continuation validation, ensuring approval policies access the same tool definition fields as original model calls. Second, it adds durable telemetry support for WorkflowAgent executions into a single operation encompassing prompt, output, steps, and tools, emitted upon completion or suspension. For OpenTelemetry, context is bridged across steps by providing an OpenTelemetryIdGenerator to the tracer provider and the new OpenTelemetry({ durable }) instance, eliminating reliance on process-global ID-generator detection. In addition, experimental typed durable context hooks are added, and dependencies @ai-sdk/provider-utils (5.0.74) and @ai-sdk/gateway (4.0.135) were updated.
可执行摘要
Vercel AI SDK 7.0.162 patches tool approval validation to restore server-defined metadata, status, and title. It also introduces single-operation durable telemetry for WorkflowAgent runs via an explicit OpenTelemetry bridge.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Verify tool approval policies behave correctly with restored server-defined tool metadata, dynamic status, and titles.
- If using WorkflowAgent with OpenTelemetry, update tracing setups to supply an OpenTelemetryIdGenerator instance to the tracer provider, sampler, and OpenTelemetry({ durable }) bridge instead of relying on process-global…