diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 24a0f5fab..0923cfa7e 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -639,9 +639,10 @@ async def user_api_key_auth( pass elif ( isinstance(valid_token.models, list) - and "all-proxy-models" in valid_token.models + and "all-team-models" in valid_token.models ): - # Admin UI - Special alias to allow `all_models` + # Do not do any validation at this step + # the validation will occur when checking the team has access to this model pass else: try: