返回全部动态
Vercel AI SDK 6.0.271 发布:增强工具调用验证与消息流回调
原标题:ai@6.0.271
AI 摘要
Vercel AI SDK 发布 6.0.271 版本,主要更新包括:验证持久化的类型化工具调用与当前输入输出模式的一致性,不兼容的空输入或错误输入以及不可用工具的终端历史将作为动态工具部分加载,而不是在当前静态工具类型下暴露未验证的值;同时为 UI 消息流结束回调添加操作级结果。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 9310140: Validate persisted typed tool calls against current input and output schemas. Schema-incompatible empty or error inputs and terminal history from unavailable tools remain loadable as dynamic tool parts instead of exposing unvalidated values under current static tool types. - b503790: add operation-level outcomes to UI message stream end callbacks
发布时间:2026-08-28 02:39
抓取时间:2026-08-28 18:17
来源机构:Vercel