From 021dfd9165f837d37e6aad247ccbd0d2e8ca6043 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 26 Jun 2025 16:43:00 -0700 Subject: [PATCH] fix(pass_through_endpoints.py): use data instead of json for passthrough requests fixes bedrock latency issue --- litellm/proxy/pass_through_endpoints/pass_through_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py index fda5e941484..cef28591ccc 100644 --- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py @@ -383,7 +383,7 @@ class HttpPassThroughEndpointHelpers(BasePassthroughUtils): url=url, headers=headers, params=requested_query_params, - json=_parsed_body, + data=_parsed_body, ) return response