github vercel/ai ai@7.0.187

latest releases: @ai-sdk/subquadratic@1.0.0, @ai-sdk/zai@3.0.61, @ai-sdk/xai@5.0.54...
one hour ago

Patch Changes

  • db4d3bd: fix(ai): call speech translation, video, and reranking model factories with the default provider as their receiver when resolving model IDs, so class-based providers that read instance state no longer fail
  • 8246e9a: Promote streamSpeechTranslation (formerly experimental_streamTranslate), StreamSpeechTranslationResult, SpeechTranslationStreamPart, the OpenAI and Google speech translation model exports, and the speechTranslation() provider shortcut to stable. The experimental names and translation() remain as deprecated aliases.
  • f958ef0: Promote streamTranscription (formerly experimental_streamTranscribe) and the TranscriptionModelV4Stream* provider types to stable, with deprecated experimental aliases for backwards compatibility.
  • 317a048: fix(ai): attach the provider error as the cause of NoTranscriptGeneratedError and NoTranslationGeneratedError when a streaming transcription or translation ends without a result after an error part, so result promise consumers can tell a provider failure from audio that produced no output
  • a13a1da: fix(ai): Apply exponential backoff and respect retry headers for stream retries, including callback-directed retries. Abort retry waits when the request or stream is cancelled.
  • Updated dependencies [7b2769c]
  • Updated dependencies [f958ef0]
    • @ai-sdk/gateway@4.0.160
    • @ai-sdk/provider@4.0.40
    • @ai-sdk/provider-utils@5.0.87

Don't miss a new ai release

NewReleases is sending notifications on new releases.