返回全部动态

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

原标题:ai@7.0.169

Vercel AI SDK Releases一手来源开源质量 54

AI 摘要

Vercel AI SDK 发布 ai@7.0.169 补丁版本,内部校验 schema 改用 Zod Mini 以减小打包体积,同时保留公共 message schema 的经典 Zod 方法、错误信息及对 Zod 3/4 的兼容性。此外修复了 useChat 队列在优先发送工具审批时丢失请求选项的问题,并在异步 sendAutomaticallyWhen 决策期间保持队列等待。该更新还同步升级了 @ai-sdk/provider-utils 与 @ai-sdk/gateway 等依赖。

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

正文节选

### Patch Changes - 4311fa1: Use Zod Mini for internal validation schemas to reduce bundle size while preserving the public message schemas' classic Zod methods, error messages, and compatibility with supported Zod 3 and Zod 4 versions. - d9dd2b7: keep the request options when the useChat queue sends a tool approval first, and hold the queue while an async sendAutomaticallyWhen decides - Updated dependencies [4311fa1] - Updated dependencies [c160b74] - Updated dependencies [4311fa1] - Updated d


发布时间:2026-11-11 04:17
抓取时间:2026-11-11 05:08
来源机构:Vercel
阅读原文github.com