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 lint error in _completion_streaming_iterator
Julio Quinteros Pro3faa864713b9
diff --git a/litellm/router.py b/litellm/router.pyindex 34408e38e40..f21718a34c3 100644--- a/litellm/router.py+++ b/litellm/router.py@@ -1718,7 +1718,7 @@ class Router:return FallbackStreamWrapper(stream_with_fallbacks())- def _completion_streaming_iterator(+ def _completion_streaming_iterator( # noqa: PLR0915self,model_response: CustomStreamWrapper,messages: List[Dict[str, str]],