From 666641b2d4515f732c173749ac80936f5b77a289 Mon Sep 17 00:00:00 2001 From: Otavio Brito Date: Mon, 22 Sep 2025 10:25:05 -0300 Subject: [PATCH] fix get parsed form --- .../proxy/pass_through_endpoints/llm_passthrough_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py index f4a963d4f46..5e171af5252 100644 --- a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py @@ -142,7 +142,7 @@ async def llm_passthrough_factory_proxy_route( if "multipart/form-data" not in request.headers.get("content-type", ""): _request_body = await request.json() else: - _request_body = dict(request._form) + _request_body = await get_form_data(request) if _request_body.get("stream"): is_streaming_request = True