mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 22:09:51 +00:00
fix: correct variable name in nonstreaming response handler
This commit is contained in:
parent
83191dbe08
commit
c17c9e2558
@ -456,10 +456,10 @@ async def handle_nonstreaming_response(request: Request, response: Response, too
|
||||
|
||||
# Make another request to the model with the updated context
|
||||
update_body_request(request, body)
|
||||
next_response = await call_next(request)
|
||||
response_dict = json.loads(next_response)
|
||||
response = await call_next(request)
|
||||
response_dict = json.loads(response)
|
||||
|
||||
return response_dict
|
||||
return response
|
||||
|
||||
|
||||
async def chat_completion_tools_handler(
|
||||
|
Loading…
Reference in New Issue
Block a user