← 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, introducing a deprecated experimental_repairText alias for backward compatibility.

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/svelte@5.0.39 · vercel/ai
Save

Vercel AI SDK has announced an update promoting the repairText option to stable status within its generateObject and streamObject functions. This change, part of the ai@7.0.39 release, also introduces experimental_repairText as a deprecated alias to ensure backward compatibility for existing implementations.

Key Points

  • The repairText option is now stable for generateObject and streamObject functions.
  • A deprecated experimental_repairText alias has been introduced for backward compatibility.
  • This update is included in the ai@7.0.39 release.
  • Dependencies for @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, and @ai-sdk/anthropic@4.0.23 were updated.
  • Specific packages like @ai-sdk/svelte@5.0.39, @ai-sdk/tui@1.0.40, @ai-sdk/valibot@3.0.14, and @ai-sdk/vercel@3.0.16 also received patch changes.

Context

According to the Vercel AI SDK changelog, this promotion signifies a maturation of the repairText functionality, making it a standard feature for developers working with object generation and streaming. The inclusion of a deprecated alias suggests a phased transition to the new stable option, allowing developers time to update their codebases without immediate breakage.

Why It Matters

This update provides developers with a stable and officially supported method for text repair during object generation and streaming, potentially improving the reliability and robustness of applications built with the Vercel AI SDK. The backward-compatible alias helps maintain continuity for existing projects.

What To Do

  • Review existing codebases for usage of experimental_repairText.
  • Update implementations to use the stable repairText option for generateObject and streamObject.
  • Note the updated dependency versions for various @ai-sdk packages.
  • Check the Vercel AI SDK documentation for further details on the repairText option.