Skip to content

Commit 666641b

Browse files
fix get parsed form
1 parent 33a11c4 commit 666641b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def llm_passthrough_factory_proxy_route(
142142
if "multipart/form-data" not in request.headers.get("content-type", ""):
143143
_request_body = await request.json()
144144
else:
145-
_request_body = dict(request._form)
145+
_request_body = await get_form_data(request)
146146

147147
if _request_body.get("stream"):
148148
is_streaming_request = True

0 commit comments

Comments
 (0)