返回全部动态

Vercel AI SDK 发布 ai@7.0.128 补丁更新

原标题:ai@7.0.128

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

AI 摘要

Vercel AI SDK 发布 ai@7.0.128 补丁版本,修复了恢复流时工具审批状态丢失的问题,并将 evaluate 重命名为 decide。同时新增了非流式的 WorkflowAgent.generate(),内置共享工具循环、默认 20 步上限、类型化输出与核心生成结果语义,并支持 extractReasoningMiddleware 自定义推理分隔符。此外还改进了静音音频返回空转录及音频格式错误处理,并更新了相关依赖包。

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

正文节选

### Patch Changes - 0fe8c67: fix: preserve tool approval state when resuming streams - 2959d35: feat: rename `evaluate` to `decide` - 0ca1ab9: Add durable non-streaming `WorkflowAgent.generate()` with a shared tool loop, a 20-step default, typed output, and core generation result semantics. Reuse core result and content construction through internal exports while preserving existing Workflow streaming behavior. Transport-independent approval creation remains separate follow-up work. - d6b42fd:


发布时间:2026-10-06 02:25
抓取时间:2026-10-06 03:33
来源机构:Vercel
阅读原文github.com