litellm/tests/unit/llms/deepgram
shrey kharbanda 7576d2e2aa feat(passthrough): add Deepgram streaming text-to-speech WebSocket route
/deepgram/v1/speak and /deepgram/speak relay Deepgram's streaming TTS socket the way /listen relays STT, with the same key auth on the requested voice, the server-side Deepgram key, and the same first-value-wins handling of a repeated model param

A session is billed per character of the Speak text the client sent, at the row of the voice's Aura generation. Deepgram also speaks and bills text that was never flushed, so counting only flushed text would let a client get audio free, and counting on send can only over-bill text a Clear discards. A voice whose generation has no row is closed with 1008 before anything reaches Deepgram, and the spoken text never reaches the logs
2026-10-30 09:46:08 -07:00
..
audio_transcription refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
__init__.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_deepgram_common_utils.py feat(passthrough): add Deepgram streaming text-to-speech WebSocket route 2026-10-30 09:46:08 -07:00
test_deepgram_mock_transcription.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00