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

latest releases: @ai-sdk/vue@2.0.295, @ai-sdk/svelte@3.0.295, @ai-sdk/rsc@1.0.297...
one hour ago

Patch Changes

  • 72d45b7: fix(deepgram): apply downstream backpressure to streaming speech

    experimental_streamSpeech with Deepgram Flux TTS now stops submitting Speak text while more than 1 MiB of audio is queued for the consumer, and resumes when the consumer reads. Previously the adapter kept sending text and enqueuing every audio frame regardless of demand, so a slow consumer of an unbounded text stream could accumulate raw audio in memory without bound.

  • 9f9e0fe: fix(deepgram): keep caller-controlled warning values on one log line

    Warnings echoed caller-controlled strings verbatim, so a voice or language preference (or a model ID or provider option name) containing a line break could add forged lines to plain-text warning logs. Control characters in warning text are now rendered as visible escapes (\n, \r, \u2028), while plain values are unchanged.

Don't miss a new ai release

NewReleases is sending notifications on new releases.