返回全部动态
Vercel AI SDK 发布 ai@7.0.108 修复工具调用缺陷
原标题:ai@7.0.108
AI 摘要
Vercel AI SDK 发布 ai@7.0.108 补丁版本,修复了多项与工具调用相关的缺陷,包括阻止受 tool callers 管控的工具被直接执行、在生成被取消时停止待处理的工具调用修复、保留适配 v3 语言模型时的文件数据,以及防止 streamText 执行违反 tool choice 的工具调用。同时更新了 @ai-sdk/gateway 等依赖。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 3f6852a: fix(ai): prevent direct execution of tools governed by tool callers - 6317504: fix(ai): stop pending tool-call repairs when generation is cancelled - 3cb2dcd: fix(ai): preserve file data when adapting v3 language models - ccf98e7: fix(ai): prevent `streamText` from executing tool calls that violate tool choice - Updated dependencies [20dd00a] - Updated dependencies [7cf7cee] - Updated dependencies [c42576a] - Updated dependencies [d85dcf5] - Updated dependencies [fd
发布时间:2026-09-22 03:19
抓取时间:2026-09-22 04:19
来源机构:Vercel