diff --git a/litellm/router.py b/litellm/router.py index 5fe61146d3..3f21597945 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -1695,11 +1695,12 @@ class Router: model_client = potential_model_client response = await litellm.aspeech( - **data, - client=model_client, - **kwargs, + **{ + **data, + "client": model_client, + **kwargs, + } ) - return response except Exception as e: asyncio.create_task(