From 1641dfe3ee4d82d03b2d23c895b5d34328cf863e Mon Sep 17 00:00:00 2001 From: Dushyant Acharya Date: Sun, 14 Jun 2026 05:33:35 +0530 Subject: [PATCH] fix(proxy): remove auth-time gate as per review feedback --- litellm/proxy/auth/auth_utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/litellm/proxy/auth/auth_utils.py b/litellm/proxy/auth/auth_utils.py index c8c0ce6c8e1..c868d3d22b2 100644 --- a/litellm/proxy/auth/auth_utils.py +++ b/litellm/proxy/auth/auth_utils.py @@ -1113,9 +1113,6 @@ def _coerce_user_id_to_str(value: Any) -> Optional[str]: def get_end_user_id_from_request_body( request_body: dict, request_headers: Optional[dict] = None ) -> Optional[str]: - if litellm.disable_end_user_cost_tracking: - return None - # Import general_settings here to avoid potential circular import issues at module level # and to ensure it's fetched at runtime. from litellm.proxy.proxy_server import general_settings