fix router test_audio_speech_router

This commit is contained in:
Ishaan Jaff 2024-12-05 20:41:44 -08:00
parent b3dce21baf
commit a19532b7f3

View file

@ -1695,11 +1695,12 @@ class Router:
model_client = potential_model_client model_client = potential_model_client
response = await litellm.aspeech( response = await litellm.aspeech(
**{
**data, **data,
client=model_client, "client": model_client,
**kwargs, **kwargs,
}
) )
return response return response
except Exception as e: except Exception as e:
asyncio.create_task( asyncio.create_task(