返回全部动态
Vercel AI SDK 发布 ai@6.0.266 修复工具错误与状态清理
原标题:ai@6.0.266
AI 摘要
Vercel AI SDK 发布了 ai@6.0.266 版本,主要修复了 generateText 和 streamText 在工具输入重新验证失败时继续执行的问题,并防止 streamText 调用在中断、错误或取消时通过清理监听器保留状态。同时更新了依赖 @ai-sdk/provider-utils 和 @ai-sdk/gateway。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - a1bafb1: Continue approved `generateText` and `streamText` turns with a model-visible tool error when revalidated tool input is invalid. - 3cb50fc: Prevent aborted, errored, or cancelled `streamText` calls from retaining per-call state through abort cleanup listeners. - Updated dependencies [5642849] - @ai-sdk/provider-utils@4.0.48 - @ai-sdk/gateway@3.0.181
发布时间:2026-08-25 11:11
抓取时间:2026-08-25 11:55
来源机构:Vercel