mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
This commit is contained in:
parent
26711c1bcc
commit
5cc55e2278
1 changed files with 2 additions and 0 deletions
|
|
@ -4658,6 +4658,7 @@ async def streaming_chat_response_handler(response, ctx):
|
|||
**form_data,
|
||||
'model': model_id,
|
||||
'stream': True,
|
||||
'metadata': metadata,
|
||||
}
|
||||
|
||||
if ENABLE_RESPONSES_API_STATEFUL and last_response_id:
|
||||
|
|
@ -4881,6 +4882,7 @@ async def streaming_chat_response_handler(response, ctx):
|
|||
**form_data,
|
||||
'model': model_id,
|
||||
'stream': True,
|
||||
'metadata': metadata,
|
||||
'messages': [
|
||||
*form_data['messages'],
|
||||
*convert_output_to_messages(output, raw=True),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue