← AI PulseJul 28, 2026

Wire · news · Multi-source brief

Vercel AI SDK Promotes repairText Option to Stable for Object Generation

The Vercel AI SDK has promoted the repairText option to stable for generateObject and streamObject functions, replacing the deprecated experimental_repairText alias.

By Illumora Editorial

Source · Jul 28, 2026, 3:01 AM · On Illumora · Jul 28, 2026, 3:13 AM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →Vercel AI SDK Changelog — Release @ai-sdk/valibot@3.0.14 · vercel/ai
Save

Vercel AI SDK has announced an update promoting the repairText option to stable status. This change applies to the generateObject and streamObject functions within the SDK. A deprecated alias, experimental_repairText, has been introduced for backward compatibility.

Key Points

  • The repairText option is now stable for generateObject and streamObject functions.
  • A deprecated alias, experimental_repairText, is available for backward compatibility.
  • This update is part of the ai@7.0.39 release.
  • Dependencies such as @ai-sdk/provider-utils@5.0.14, @ai-sdk/gateway@4.0.30, @ai-sdk/alibaba@2.0.18, @ai-sdk/openai-compatible@3.0.16, @ai-sdk/amazon-bedrock@5.0.34, @ai-sdk/openai@4.0.22, @ai-sdk/anthropic@4.0.23, and @ai-sdk/angular@3.0.39 have been updated.

Context

According to the Vercel AI SDK changelog, this promotion of repairText to stable status is a patch change. The update affects various SDK packages, including @ai-sdk/valibot@3.0.14, @ai-sdk/workflow@1.0.39, @ai-sdk/voyage@2.0.14, and @ai-sdk/vue@4.0.39, all of which list the same core change regarding repairText and updated dependencies.

Why It Matters

This update indicates a maturation of the text repair functionality within the Vercel AI SDK, moving it from an experimental feature to a stable one. Developers can now rely on repairText for object generation and streaming with increased confidence in its stability and continued support.

What To Do

  • Review existing codebases for usage of experimental_repairText.
  • Update implementations to use the stable repairText option.
  • Note the updated dependency versions for various AI SDK packages.
  • Consult the Vercel AI SDK documentation for detailed usage of repairText with generateObject and streamObject.