Skip to content

@ai-sdk/deepgram@3.1.47

Choose a tag to compare

@github-actions github-actions released this 06 Nov 19:44
· 118 commits to main since this release
9ae0c49

Patch Changes

  • 5cc6dca: fix (deepgram): reject the speech callback provider 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, which generateSpeech previously returned as corrupt audio bytes. The provider now throws an InvalidArgumentError before sending the request, and warns when callbackMethod is passed without callback.

    If you relied on callback delivery, call Deepgram's /v1/speak REST API directly; generateSpeech always needs the audio in the response.