# vercel-ai-sdk/release
Vercel AI SDK @ai-sdk/workflow@2.0.104
importance: mediumfeature
This patch aligns WorkflowAgent behavior more closely with ToolLoopAgent and the text-generation APIs. It adds constructor-level error and abort callbacks, fixes tool message contents and per-step generation overrides, and improves stream usage aggregation.
affected
WorkflowAgent users are affected, particularly those relying on callback ordering, tool message contents, prepareStep overrides, or streamed token usage.
action
Review WorkflowAgent callback ordering and per-step overrides if your application depends on their behavior.
release_signals
+WorkflowAgent accepts `onError` and `onAbort` callbacks in its constructor; these run before callbacks supplied to `generate()` or `stream()`.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.