mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
address greptile review feedback (greploop iteration 5)
Pass content to sign_request so AWS body-hash signing is correct when content is the sole body source
This commit is contained in:
parent
8767070bf5
commit
9cf8fc79c8
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ def llm_passthrough_route(
|
|||
headers, signed_json_body = provider_config.sign_request(
|
||||
headers=headers,
|
||||
litellm_params=litellm_params_dict,
|
||||
request_data=data if data else json,
|
||||
request_data=data if data else (json if json else content),
|
||||
api_base=str(updated_url),
|
||||
model=model,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue