mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-11 22:52:54 +00:00
refac
This commit is contained in:
parent
307b9b9133
commit
31b272d3c9
1 changed files with 5 additions and 1 deletions
|
|
@ -597,7 +597,11 @@ def handle_responses_streaming_event(
|
|||
idx
|
||||
for idx, existing in enumerate(new_output)
|
||||
if (item.get('id') and existing.get('id') == item.get('id'))
|
||||
or (item.get('call_id') and existing.get('call_id') == item.get('call_id'))
|
||||
or (
|
||||
item.get('call_id')
|
||||
and existing.get('type') == item.get('type')
|
||||
and existing.get('call_id') == item.get('call_id')
|
||||
)
|
||||
),
|
||||
None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue