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 code qa
Sameer Kankute0beada96c141
diff --git a/litellm/proxy/guardrails/guardrail_hooks/noma/noma_v2.py b/litellm/proxy/guardrails/guardrail_hooks/noma/noma_v2.pyindex cb1db9d04ad..2c429172940 100644--- a/litellm/proxy/guardrails/guardrail_hooks/noma/noma_v2.py+++ b/litellm/proxy/guardrails/guardrail_hooks/noma/noma_v2.py@@ -13,7 +13,7 @@ from typing import TYPE_CHECKING, Any, Literal, Optional, Type, castfrom urllib.parse import urlparsefrom litellm._logging import verbose_proxy_logger-from litellm.integrations.custom_guardrail import CustomGuardrail+from litellm.integrations.custom_guardrail import CustomGuardrail, log_guardrail_informationfrom litellm.litellm_core_utils.safe_json_dumps import safe_dumpsfrom litellm.litellm_core_utils.safe_json_loads import safe_json_loadsfrom litellm.llms.custom_httpx.http_handler import (@@ -237,6 +237,7 @@ class NomaV2Guardrail(CustomGuardrail):return inputs+ @log_guardrail_informationasync def apply_guardrail(self,inputs: GenericGuardrailAPIInputs,