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