Update streaming.py. Provide Type Annotation for empty dict

This commit is contained in:
harish-berri 2026-04-11 13:04:25 -07:00 committed by GitHub
parent c70a3c7093
commit ec0cd5c17d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {}