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 linting error
Ishaan Jafff89487a49622
diff --git a/litellm/proxy/pass_through_endpoints/streaming_handler.py b/litellm/proxy/pass_through_endpoints/streaming_handler.pyindex ab1d5d813ff..4420bd1d70a 100644--- a/litellm/proxy/pass_through_endpoints/streaming_handler.py+++ b/litellm/proxy/pass_through_endpoints/streaming_handler.py@@ -95,9 +95,9 @@ async def chunk_processor(except json.JSONDecodeError:pass- complete_streaming_response: litellm.ModelResponse = (- litellm.stream_chunk_builder(chunks=all_chunks)- )+ complete_streaming_response: Optional[+ Union[litellm.ModelResponse, litellm.TextCompletionResponse]+ ] = litellm.stream_chunk_builder(chunks=all_chunks)end_time = datetime.now()if passthrough_success_handler_obj.is_vertex_route(url_route):