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
Update streaming.py. Provide Type Annotation for empty dict
harish-berriec0cd5c17d81
diff --git a/litellm/files/streaming.py b/litellm/files/streaming.pyindex a92b92abb27..36fe30fa829 100644--- a/litellm/files/streaming.py+++ b/litellm/files/streaming.py@@ -118,7 +118,7 @@ class FileContentStreamingResponse:return responsedef _sync_hidden_params(self) -> None:- litellm_params = {}+ litellm_params: dict[str, Any] = {}if self.logging_obj is not None:litellm_params = (self.logging_obj.model_call_details.get("litellm_params", {}) or {}