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
refactor(guardrails): mark release_on_scan flag as Final
yassin1e169bb912c9
diff --git a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.pyindex 15757681d38..7f51d733d4c 100644--- a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py+++ b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py@@ -956,7 +956,7 @@ class UnifiedLLMGuardrails(CustomLogger):buffer_until_moderated: bool = _streaming_flag("streaming_buffer_until_moderated", buffer_until_moderated_default)- release_on_scan: bool = _streaming_flag("streaming_buffer_release_on_scan", False)+ release_on_scan: Final[bool] = _streaming_flag("streaming_buffer_release_on_scan", False)if (buffer_until_moderated