github vercel/ai @ai-sdk/deepgram@3.1.58

latest releases: @ai-sdk/zai@3.0.60, @ai-sdk/xai@5.0.53, @ai-sdk/workflow-harness@1.0.197...
one hour ago

Patch Changes

  • 743e15b: Add Deepgram Flux support: Flux speech-to-text (flux-general-en, flux-general-multi) with experimental_streamTranscribe over the turn-based /v2/listen WebSocket, and Flux text-to-speech (the flux voice family) with generateSpeech and experimental_streamSpeech over /v2/speak. Flux transcription models now reject non-streaming transcribe calls with a clear error instead of failing upstream.

  • 0e37b97: fix(deepgram): decode base64 audio before uploading it for transcription

  • 29dc375: fix(deepgram): handle empty transcription results and repeated list options

    Pre-recorded transcription of audio without samples, which Deepgram answers with no channels, threw a TypeError instead of returning a result; it now returns an empty transcript with no segments and the duration Deepgram reports. A redact list was sent as one comma-joined value (redact=pci%2Cssn), which Deepgram rejects with a 400; each entry is now sent as its own redact parameter, as the streaming paths already do. The Flux speech-to-text entries in the model catalog now list mipOptOut as supported.

  • 362bd2c: Add the mipOptOut transcription provider option, which opts requests out of the Deepgram Model Improvement Program. It is sent as mip_opt_out on pre-recorded transcription (/v1/listen), Nova live transcription (the /v1/listen WebSocket) and Flux live transcription (the /v2/listen WebSocket), and omitted when unset.

  • Updated dependencies [743e15b]

    • @ai-sdk/provider-utils@5.0.86

Don't miss a new ai release

NewReleases is sending notifications on new releases.