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 checks
Ishaan Jaff4fc4304f37f3
diff --git a/litellm/litellm_core_utils/streaming_chunk_builder_utils.py b/litellm/litellm_core_utils/streaming_chunk_builder_utils.pyindex 0cfdd138e69..5e50e842562 100644--- a/litellm/litellm_core_utils/streaming_chunk_builder_utils.py+++ b/litellm/litellm_core_utils/streaming_chunk_builder_utils.py@@ -16,7 +16,6 @@ from litellm.types.utils import (FunctionCall,ModelResponse,ModelResponseStream,- PromptTokensDetails,PromptTokensDetailsWrapper,Usage,)@@ -309,7 +308,7 @@ class ChunkProcessor:return reasoning_tokens- def calculate_usage(+ def calculate_usage( # noqa: PLR0915self,chunks: List[Union[Dict[str, Any], ModelResponse]],model: str,