返回全部动态

Vercel AI SDK 发布 ai@5.0.286 补丁更新

原标题:ai@5.0.286

Vercel AI SDK Releases一手来源API 更新质量 60

AI 摘要

Vercel AI SDK 发布 ai@5.0.286 补丁版本,包含两项修复:当 recordOutputs 为 false 时从遥测中隐藏 provider 元数据;在 SDK 工具被省略或为空时保留 toolChoice: 'none',以便提供商禁用通过 provider options 配置的原生工具。此外,Perplexity 原生工具需将 @ai-sdk/perplexity 升级至 2.1.6 或更高兼容版本,并同步更新了多个依赖包。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

### Patch Changes - f15d448: hide provider metadata from telemetry when recordOutputs is false - 417a92c: Preserve `toolChoice: 'none'` when SDK tools are omitted or empty so providers can disable native tools configured through provider options. For Perplexity native tools, also update `@ai-sdk/perplexity` to `2.1.6` or a later compatible version, which includes the provider-side guard. - Updated dependencies [c6c7ae0] - Updated dependencies [49c554d] - Updated dependencies [ebc2cd9] - Upd


发布时间:2026-11-08 03:22
抓取时间:2026-11-08 03:45
来源机构:Vercel
阅读原文github.com