test_audio_speech_litellm
This commit is contained in:
parent
d8e5938f54
commit
1feb13e76a
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user