Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_audio_speech_litellm

Ishaan Jaffer1feb13e76ab7
diff --git a/tests/audio_tests/test_audio_speech.py b/tests/audio_tests/test_audio_speech.py
index c0bb6f72807..95fb4822196 100644
--- a/tests/audio_tests/test_audio_speech.py
+++ b/tests/audio_tests/test_audio_speech.py
@@ -34,7 +34,7 @@ import litellm
"model, api_key, api_base",
[
(
- "azure/azure-tts",
+ "azure/tts",
os.getenv("AZURE_SWEDEN_API_KEY"),
os.getenv("AZURE_SWEDEN_API_BASE"),
),
@@ -44,6 +44,7 @@ import litellm
@pytest.mark.asyncio
@pytest.mark.flaky(retries=3, delay=1)
async def test_audio_speech_litellm(sync_mode, model, api_base, api_key):
+ litellm._turn_on_debug()
speech_file_path = Path(__file__).parent / "speech.mp3"
if sync_mode: