From 8710087a09304514c3a2ba32410d4c15921c9f3f Mon Sep 17 00:00:00 2001 From: Jaeyeon Kim Date: Sat, 21 Mar 2026 02:02:10 +0900 Subject: [PATCH] fix: apply black formatting to http_handler.py Co-Authored-By: Claude Opus 4.6 (1M context) --- litellm/llms/custom_httpx/http_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index 2c65a090f6c..ffc406478d0 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -130,7 +130,9 @@ def _prepare_request_data_and_content( if isinstance(data, (bytes, str)): # Bytes/strings belong in content= (only if not already provided) if content is None: - request_content = _sanitize_data(data) if isinstance(data, str) else data + request_content = ( + _sanitize_data(data) if isinstance(data, str) else data + ) else: # dict/Mapping stays in data= parameter request_data = _sanitize_data(data)