← AI PulseJul 28, 2026

Wire · news · Multi-source brief

Vercel AI SDK Promotes repairText Option to Stable, Adds Experimental Speech Translation

The Vercel AI SDK has promoted the repairText option to stable for generateObject and streamObject functions, while also introducing an experimental speech translation model specification and streaming speech-to-speech translation.

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/xai@4.0.20 · vercel/ai
Save

Vercel AI SDK has released updates that include promoting the repairText option to stable within its generateObject and streamObject functions. This update, part of the ai@7.0.39 release, also introduces a deprecated experimental_repairText alias for backward compatibility, according to the Vercel AI SDK Changelog.

Separately, the ai@7.0.38 release added an experimental speech translation model specification, Experimental_SpeechTranslationModelV4, and an experimental_streamTranslate function for streaming speech-to-speech translation. This release also addressed client tool errors for invalid provider-executed tool calls.

Key Points

  • The repairText option is now stable for generateObject and streamObject in the Vercel AI SDK.
  • A deprecated experimental_repairText alias is available for backward compatibility.
  • Vercel AI SDK introduced Experimental_SpeechTranslationModelV4 for speech translation.
  • An experimental_streamTranslate function supports streaming speech-to-speech translation.
  • The Vercel AI SDK also updated its handling of client tool errors for invalid provider-executed tool calls.

Context

According to the Vercel AI SDK Changelog, these updates are part of ongoing releases for the SDK, with ai@7.0.39 focusing on the repairText promotion and ai@7.0.38 introducing the experimental speech translation features. These changes affect various packages within the SDK, including @ai-sdk/alibaba, @ai-sdk/amazon-bedrock, @ai-sdk/anthropic, @ai-sdk/openai, and @ai-sdk/angular, among others.

Why It Matters

The promotion of repairText to stable indicates increased reliability for developers working with object generation and streaming, potentially reducing the need for manual text correction. The introduction of experimental speech translation capabilities expands the SDK's multimodal functionalities, offering new avenues for integrating voice-based interactions into applications.

What To Do

  • Developers should update their Vercel AI SDK packages to ai@7.0.39 to utilize the stable repairText option.
  • Review the documentation for generateObject and streamObject to understand the stable repairText implementation.
  • Explore the Experimental_SpeechTranslationModelV4 and experimental_streamTranslate functions for new speech-to-speech translation capabilities.
  • Note the experimental_repairText alias for managing backward compatibility in existing projects.

Keep Exploring

/techniques/output-schema /techniques/multimodal-grounding