返回全部动态

Vercel AI SDK 发布 ai@7.0.146 补丁版本

原标题:ai@7.0.146

Vercel AI SDK Releases一手来源API 更新质量 61

AI 摘要

Vercel AI SDK 发布 ai@7.0.146 补丁版本,为实验性 decision 调用新增 maxOutputTokens 和 reasoning 参数,并将其转发给由语言模型驱动的决策;语言模型适配器在未指定时保持 reasoning 关闭,原生 decision 提供方在遇到不支持的设置时会发出警告。该版本还修复了裁剪工具调用时残留孤立 reasoning 内容、以及可选工具在工具调用等类型中错误添加 undefined 成员的问题,并更新了 gateway、provider 等依赖。

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

正文节选

### Patch Changes - 0c2a9de: Add `maxOutputTokens` and `reasoning` to experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported. - 3785b2e: fix(ai): remove orphaned reasoning, including consecutive summary and reasoning-file parts, when pruning tool calls - ab8eb61: Fix optional tools adding an incorrect `undefined` member to tool call, result, e


发布时间:2026-10-20 12:12
抓取时间:2026-10-20 13:09
来源机构:Vercel
阅读原文github.com