AI SDK Workflow 2.0.114 Update: Fix for Empty Text Message Retention

AI SDK Workflow 2.0.114 fixes the dropping of metadata on empty assistant text and syncs dependencies.
@ai-sdk/workflow released version 2.0.114. The core change fixes the issue where empty assistant text carrying provider metadata was dropped from WorkflowAgent responses, ensuring that provider-specific fields such as reasoning markers and tool call附加 information are not lost during message aggregation due to empty text. It also upgrades @ai-sdk/provider-utils to 5.0.84 and ai to 7.0.182. The article notes that this fix has practical value for multi-step message fidelity, logging/tracing, and observability in Agent workflows. It is a low-risk patch with no breaking API changes, and it is recommended to check the handling path for empty-text messages after upgrading.

The @ai-sdk/workflow package in the AI SDK ecosystem has released version 2.0.114. This update is small in scope but fixes a subtle issue that is easy to overlook when building agent workflows yet can affect debugging and observability: empty assistant text that carries provider metadata is no longer discarded from WorkflowAgent response messages.
For developers building multi-step Agent pipelines with AI SDK, this kind of patch is worth noting because it directly relates to the integrity of response messages and the stability of downstream processing.
Patch Details: Retaining Empty Assistant Text with Metadata
According to the changelog on GitHub, this release includes a fix for the workflow package (commit 8a75476): in the response messages returned by WorkflowAgent, assistant messages whose text content is empty but which carry provider metadata are now preserved.
The background of this change is easy to understand. Assistant messages returned by LLMs sometimes have an empty text field but include provider-level metadata, such as reasoning process markers, additional information related to tool calls, or other provider-specific fields. If the workflow layer filters out such empty-text messages when aggregating or transforming messages, the metadata is lost along with them, causing subsequent steps to miss information that should have been present.
After the fix, WorkflowAgent keeps these messages in the response as-is, ensuring that metadata is not artificially truncated during message flow.
In the AI SDK message model, an assistant message typically consists of fields such as role, content, and optional providerMetadata. Content can be plain text, tool call fragments, or reasoning fragments, while providerMetadata carries additional information specific to each model provider that the AI SDK itself does not interpret, such as Anthropic's thinking signatures, OpenAI's reasoning-related identifiers, or provider-side extension fields for tool calls. When a model returns only such metadata without visible text, the message's text content is empty. If the workflow layer uses only non-empty text as the retention condition when aggregating messages, it will discard the message along with its providerMetadata. Therefore, the key to the fix is that the condition must also consider whether metadata is present.
Dependency Upgrades
In addition to the fix above, this release also updates two dependencies:
@ai-sdk/provider-utilsupgraded to 5.0.84aiupgraded to 7.0.182
These version numbers are updated together with this release as routine dependency maintenance. provider-utils is the low-level toolkit in AI SDK for handling provider adaptation, and ai is the core package. The workflow package depends on the latest versions of these packages, which usually means aligning with upstream behavior.
This release was completed automatically by GitHub Actions, and the commit carries a GitHub verified signature, which is a standard automated release process.
@ai-sdk/provider-utils is the low-level utility collection in AI SDK for provider adaptation, providing common capabilities such as message format conversion, streaming response parsing, and error handling. It is usually indirectly depended on by provider packages and higher-level packages. ai is the core package of AI SDK, exporting main APIs such as generateText, streamText, and tool definitions. The workflow package depends on specific version ranges of these two packages, so bumping the version numbers during release ensures, on one hand, that the internal implementation is consistent with upstream message processing logic, and on the other hand, that users get a dependency combination verified by this release when installing, reducing the risk of message structure differences caused by version mismatches.
Why This Fix Matters
On the surface, this is just an edge-case fix about whether empty messages are retained, but for developers building Agent workflows, message fidelity is the foundation of the entire pipeline.
In workflow scenarios, a task often goes through multiple model calls and tool call steps. The response message from each step may be serialized, passed along, and parsed again. If an assistant message at some step is silently discarded because its text is empty, and it happens to carry key provider-side metadata, then during troubleshooting you will encounter the situation where "the model clearly returned information, but the workflow cannot see it."
Retaining such messages makes the workflow's message records closer to the model's raw output, which has practical value for logging, tracing, and debugging. Especially when the workflow needs to pass responses through to an upper-layer application or write them into an observability system, the integrity of metadata directly affects the efficiency of issue diagnosis.
Upgrade Recommendations
For projects using @ai-sdk/workflow, this patch is a low-risk update: the changes are concentrated in message retention logic and do not involve breaking API changes. If the project has logic that relies on WorkflowAgent response messages for subsequent processing or recording, it is recommended to check the handling path for empty-text messages after upgrading, to confirm that the newly retained messages do not conflict with existing filtering assumptions.
The versions of the dependencies @ai-sdk/provider-utils and ai are also updated in sync, so it is recommended to verify them together when upgrading the workflow package to avoid compatibility issues caused by version mismatches.
Summary
AI SDK Workflow 2.0.114 is a patch release focused primarily on fixes. The core change is to preserve empty assistant text carrying provider metadata in WorkflowAgent responses, while also following upstream dependency versions. For developers concerned about the integrity of Agent workflow messages, this is a minor version worth following.
Related articles

Nothing CMF Buds 2A Drops to $17.89 on Black Friday: A New Low for ANC Earbuds
Nothing CMF Buds 2A wireless earbuds Black Friday deal: just $17.89 on Amazon, about $11 off retail and a record low. ANC earbuds at an entry-level price.

When AI Creation Gets Accused of "Spitting": Hacker News Heats Up Over the Glaude Controversy
A Hacker News post, "Spitting in the Face of Glaude," sparks debate on AI creation transparency and attribution ethics. This analysis examines the blurred creator identity behind the controversy and offers practical advice for AI content production.

Akai Embraces Custom Firmware: MPC Sample 1.4 Lets Users AI-Program Their Sampler
Akai embraces the modding community with MPC Sample 1.4 firmware, supporting vibe-coded custom firmware and effects. We analyze the impact of this open strategy on music hardware and AI-assisted programming.