Patch Changes
-
72d45b7: fix(deepgram): apply downstream backpressure to streaming speech
experimental_streamSpeechwith Deepgram Flux TTS now stops submittingSpeaktext 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.