From ec0cd5c17d810a2f063c2d286a29f4c4fd5a9050 Mon Sep 17 00:00:00 2001 From: harish-berri Date: Sat, 11 Apr 2026 13:04:25 -0700 Subject: [PATCH] Update streaming.py. Provide Type Annotation for empty dict --- litellm/files/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/files/streaming.py b/litellm/files/streaming.py index a92b92abb2..36fe30fa82 100644 --- a/litellm/files/streaming.py +++ b/litellm/files/streaming.py @@ -118,7 +118,7 @@ class FileContentStreamingResponse: return response def _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 {}