mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
address greptile review feedback (greploop iteration 1)
Guard data/json args when content is provided to avoid httpx ValueError
This commit is contained in:
parent
f8afa04e5a
commit
ecb76d37be
1 changed files with 2 additions and 2 deletions
|
|
@ -290,9 +290,9 @@ def llm_passthrough_route(
|
|||
method=method,
|
||||
url=updated_url,
|
||||
content=signed_json_body if signed_json_body is not None else content,
|
||||
data=data if signed_json_body is None else None,
|
||||
data=data if (signed_json_body is None and content is None) else None,
|
||||
files=files,
|
||||
json=json if signed_json_body is None else None,
|
||||
json=json if (signed_json_body is None and content is None) else None,
|
||||
params=params,
|
||||
headers=headers,
|
||||
cookies=cookies,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue