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 PLR0915 of async_post_call_streaming_iterator_hook
Sameer Kankutec310e95004d9
diff --git a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.pyindex a09f0bdc5c4..0dac30f72b2 100644--- a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py+++ b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py@@ -213,7 +213,7 @@ class UnifiedLLMGuardrails(CustomLogger):return response- async def async_post_call_streaming_iterator_hook(+ async def async_post_call_streaming_iterator_hook( # noqa: PLR0915self,user_api_key_dict: UserAPIKeyAuth,response: Any,