返回全部动态
Vercel AI SDK 发布 ai@6.0.272 版本
原标题:ai@6.0.272
AI 摘要
Vercel AI SDK 发布了 ai@6.0.272 版本,主要更新包括:拒绝不符合必需或特定工具选择的 generateText 响应,并在 ToolChoiceViolationError 中暴露标准化响应内容以支持选择性恢复;修复了允许在 ToolLoopAgent 设置和 prepareCall 中使用工具审批密钥的问题。同时更新了相关依赖包。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - e822a1d: Reject `generateText` responses that do not satisfy a required or specifically selected tool choice, and expose the normalized response content on `ToolChoiceViolationError` for opt-in recovery. - 8c51a25: fix(ai): allow tool approval secrets in ToolLoopAgent settings and prepareCall - Updated dependencies [cc23556] - Updated dependencies [823cc03] - Updated dependencies [3f96cf8] - @ai-sdk/provider-utils@4.0.50 - @ai-sdk/gateway@3.0.185
发布时间:2026-08-30 16:52
抓取时间:2026-08-30 16:58
来源机构:Vercel