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: fix linting errors
Krrish Dholakia58a7351a73ac
diff --git a/litellm/proxy/guardrails/guardrail_hooks/aim.py b/litellm/proxy/guardrails/guardrail_hooks/aim.pyindex 9b0cd5f3cce..e1298b6301f 100644--- a/litellm/proxy/guardrails/guardrail_hooks/aim.py+++ b/litellm/proxy/guardrails/guardrail_hooks/aim.py@@ -121,7 +121,7 @@ class AimGuardrail(CustomGuardrail):async def call_aim_guardrail_on_output(self, request_data: dict, output: str, hook: str- ) -> None:+ ) -> Optional[str]:user_email = (request_data.get("metadata", {}).get("headers", {}).get("x-aim-user-email"))