@ai-sdk/workflow@2.0.104
Vercel AI SDK releases published @ai-sdk/workflow@2.0.104. Patch Changes - b161730: fix(workflow): WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent . They are called before the callbacks passed to generate() or stream() . An error thrown by an onError or onAbort callback no longer replaces the error or result of the run.…
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK releases published @ai-sdk/workflow@2.0.104. This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: Patch Changes - b161730: fix(workflow): WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent . They are called before the callbacks passed to generate() or stream() . An error thrown by an onError or onAbort callback no longer replaces the error or result of the run. - c591e12: fix(workflow): tools called by WorkflowAgent no longer receive the system prompt or the assistant message that contains the current tool call in options.messages . The messages passed to onToolExecutionStart and onToolExecutionEnd no longer contain the system prompt either. This matches ToolLoopAgent , generateText , and streamText . - ec23d2d: fix(workflow): model , toolChoice , activeTools , and generation settings returned from prepareStep in WorkflowAgent now apply to the current step only, like in ToolLoopAgent . Before, an override returned for one step stayed in effect for…
可执行摘要
Treat @ai-sdk/workflow@2.0.104 as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Review the official Vercel AI SDK releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.