diff --git a/tests/audio_tests/test_audio_speech.py b/tests/audio_tests/test_audio_speech.py index 95fb482219..bf886a8d5c 100644 --- a/tests/audio_tests/test_audio_speech.py +++ b/tests/audio_tests/test_audio_speech.py @@ -336,7 +336,7 @@ async def test_azure_ava_tts_async(): """ litellm._turn_on_debug() api_key = os.getenv("AZURE_TTS_API_KEY") - api_base = "https://eastus.tts.speech.microsoft.com" + api_base = os.getenv("AZURE_TTS_API_BASE") speech_file_path = Path(__file__).parent / "azure_speech.mp3"