Patch Changes
-
8dfbbed: fix (deepgram): reject the speech
callbackprovider option instead of returning Deepgram's JSON acknowledgement as audio. With a callback URL, Deepgram processes the request asynchronously and answers with{"request_id": "..."}instead of audio, whichgenerateSpeechpreviously returned as corrupt audio bytes. The provider now throws anInvalidArgumentErrorbefore sending the request, and warns whencallbackMethodis passed withoutcallback.If you relied on callback delivery, call Deepgram's
/v1/speakREST API directly;generateSpeechalways needs the audio in the response.