mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
fix(proxy): remove auth-time gate as per review feedback
This commit is contained in:
parent
7608df2c5a
commit
1641dfe3ee
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue