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(formerlyexperimental_streamTranslate),StreamSpeechTranslationResult,SpeechTranslationStreamPart, the OpenAI and Google speech translation model exports, and thespeechTranslation()provider shortcut to stable. The experimental names andtranslation()remain as deprecated aliases. - f958ef0: Promote
streamTranscription(formerlyexperimental_streamTranscribe) and theTranscriptionModelV4Stream*provider types to stable, with deprecated experimental aliases for backwards compatibility. - 317a048: fix(ai): attach the provider error as the
causeofNoTranscriptGeneratedErrorandNoTranslationGeneratedErrorwhen 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