diff --git a/litellm/router.py b/litellm/router.py index e9be7fe7f2..630e853f6a 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -1104,7 +1104,7 @@ class Router: # check if aliases set on litellm model alias map if model in litellm.model_group_alias_map: self.print_verbose(f"Using a model alias. Got Request for {model}, sending requests to {litellm.model_group_alias_map.get(model)}") - model = litellm.model_group_alias_map.get(model) + model = litellm.model_group_alias_map[model] ## get healthy deployments ### get all deployments