From a1cb2e2f0fc6956813686ad118c3a6ee531b1623 Mon Sep 17 00:00:00 2001 From: L4XB Date: Thu, 17 Sep 2026 20:35:26 +0200 Subject: [PATCH] refactor(proxy): drop a comment that no longer describes the function user_api_key_auth_websocket does not accept the connection; the route does, after this function returns. The comment has been wrong since the function was split out. --- litellm/proxy/auth/user_api_key_auth.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/auth/user_api_key_auth.py b/litellm/proxy/auth/user_api_key_auth.py index 2028fed3159..e3e8c33cfd8 100644 --- a/litellm/proxy/auth/user_api_key_auth.py +++ b/litellm/proxy/auth/user_api_key_auth.py @@ -630,8 +630,6 @@ def _apply_budget_limits_to_end_user_params( async def user_api_key_auth_websocket(websocket: WebSocket): - # Accept the WebSocket connection - ws_scope: Final = websocket.scope or {} scope_headers: Final = list(ws_scope.get("headers") or []) # ``get_request_route`` falls back to ``request.url.path`` when