From 0d6df360bfab29144e972af6a5fae136988c61a4 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 10 Mar 2025 19:09:50 -0700 Subject: [PATCH] test_can_team_access_model fix --- litellm/proxy/auth/auth_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index 4df84fb9b12..3faf8c0107b 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -1029,7 +1029,7 @@ async def _can_object_call_model( if (len(filtered_models) == 0 and len(models) == 0) or "*" in filtered_models: all_model_access = True - if SpecialModelNames.all_proxy_models in filtered_models: + if SpecialModelNames.all_proxy_models.value in filtered_models: all_model_access = True if model is not None and model not in filtered_models and all_model_access is False: