diff --git a/litellm/llms/custom_httpx/llm_http_handler.py b/litellm/llms/custom_httpx/llm_http_handler.py index 8eee81faa4e..1cc5cf6693a 100644 --- a/litellm/llms/custom_httpx/llm_http_handler.py +++ b/litellm/llms/custom_httpx/llm_http_handler.py @@ -2544,7 +2544,7 @@ class BaseLLMHTTPHandler: if extra_body: data.update(extra_body) stream = bool(stream or data.get("stream")) - logging_obj.stream = stream + logging_obj.stream = stream # rebind-ok: record provider-resolved stream mode logging_obj.model_call_details.update(stream=stream) # Preserve the OpenAI-style request context (not sent to the provider) for streaming @@ -2724,7 +2724,7 @@ class BaseLLMHTTPHandler: if extra_body: data.update(extra_body) stream = bool(stream or data.get("stream")) - logging_obj.stream = stream + logging_obj.stream = stream # rebind-ok: record provider-resolved stream mode logging_obj.model_call_details.update(stream=stream) # Preserve the OpenAI-style request context (not sent to the provider) for streaming