返回全部动态

Vercel AI SDK 发布 workflow 2.0.18 补丁

原标题:@ai-sdk/workflow@2.0.18

Vercel AI SDK Releases一手来源产品发布质量 65

AI 摘要

Vercel AI SDK 发布了 @ai-sdk/workflow@2.0.18 补丁版本,主要修复了工作流中已批准工具的上下文和生命周期回调、失败工具执行的错误流、UI 消息中的工具部分推断等问题,并新增了 WorkflowAgent 的稳定 onStart 和 onStepStart 回调。该版本还更新了依赖 ai@7.0.88。

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

正文节选

### Patch Changes - 238aff0: fix(workflow): preserve context and lifecycle callbacks for approved tools - 05672ad: fix(workflow): stream failed tool executions as tool errors - 3b6ef0c: fix(workflow): infer configured tool parts in WorkflowAgent UI messages - d3b1ffb: feat(workflow): add stable onStart and onStepStart callbacks to WorkflowAgent - 33d185e: fix(workflow): restrict prepareStep activeTools to configured tool names - Updated dependencies [8b6b756] - Updated dependencies [e07b577]


发布时间:2026-09-02 01:01
抓取时间:2026-09-02 01:29
来源机构:Vercel
阅读原文github.com