From 11d7b39e77ac2029c7722da87398aa4f08ffdb43 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 5 Mar 2026 09:26:01 -0800 Subject: [PATCH] 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 --- litellm/passthrough/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/passthrough/main.py b/litellm/passthrough/main.py index e76a222b2ed..ddad3731a6b 100644 --- a/litellm/passthrough/main.py +++ b/litellm/passthrough/main.py @@ -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, )