Repository navigation
@ai-sdk/deepgram@3.1.47
·
118 commits
to main
since this release
Patch Changes
-
5cc6dca: 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.