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: add test_audio_speech_health_check_with_another_voice

.mobo2c32ea375a20
diff --cc tests/local_testing/test_health_check.py
index 697293e0ec6,bf326d884b3..f14bb617daa
--- a/tests/local_testing/test_health_check.py
+++ b/tests/local_testing/test_health_check.py
@@@ -179,6 -179,6 +179,22 @@@ async def test_audio_speech_health_chec
print(response)
++async def test_audio_speech_health_check_with_another_voice():
++ response = await litellm.ahealth_check(
++ model_params={
++ "model": "openai/tts-1",
++ "api_key": os.getenv("OPENAI_API_KEY"),
++ "health_check_voice": "en-US-JennyNeural",
++ },
++ mode="audio_speech",
++ prompt="Hey",
++ )
++
++ assert "error" not in response
++
++ print(response)
++
@pytest.mark.asyncio
async def test_audio_transcription_health_check():
litellm.set_verbose = True