mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix router test_audio_speech_router
This commit is contained in:
parent
b3dce21baf
commit
a19532b7f3
1 changed files with 5 additions and 4 deletions
|
@ -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,
|
**{
|
||||||
client=model_client,
|
**data,
|
||||||
**kwargs,
|
"client": model_client,
|
||||||
|
**kwargs,
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
asyncio.create_task(
|
asyncio.create_task(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue