The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(auth): place strict lint exemption on org lookup
jesus87c00bf47b7e
diff --git a/litellm/proxy/auth/user_api_key_auth.py b/litellm/proxy/auth/user_api_key_auth.pyindex 17498467485..711fa50f93d 100644--- a/litellm/proxy/auth/user_api_key_auth.py+++ b/litellm/proxy/auth/user_api_key_auth.py@@ -1309,7 +1309,7 @@ def _ensure_litellm_received_at_on_request_state(request: Request) -> datetime:received_at: Final = datetime.now(timezone.utc)try:request.state.litellm_received_at = received_at- except Exception: # noqa: BLE001 # organization lookup must not fail authentication+ except Exception:passreturn received_at@@ -2634,7 +2634,7 @@ async def _inherit_org_identity(proxy_logging_obj=proxy_logging_obj,include_budget_table=True,)- except Exception:+ except Exception: # noqa: BLE001 # organization lookup must not fail authenticationverbose_proxy_logger.debug("org lookup failed for org_id=%s", user_api_key_auth_obj.org_id, exc_info=True)returnif org_object is None: