mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix: apply black formatting to http_handler.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e3d676f4cc
commit
8710087a09
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue