diff --git a/litellm/router.py b/litellm/router.py index 3751b2403..bf0f7dd7b 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -1689,11 +1689,15 @@ class Router: and potential_model_client is not None and dynamic_api_key != potential_model_client.api_key ): - pass + model_client = None else: - pass + model_client = potential_model_client - response = await litellm.aspeech(**data, **kwargs) + response = await litellm.aspeech( + **data, + client=model_client, + **kwargs, + ) return response except Exception as e: