mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix get parsed form
This commit is contained in:
parent
33a11c4b07
commit
666641b2d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue