mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
8bf7da2262
commit
b6988ab2cc
1 changed files with 3 additions and 1 deletions
|
|
@ -1484,7 +1484,9 @@
|
|||
} else if (type === 'chat:message:voice') {
|
||||
message.meta = { ...message.meta, voice: data.voice };
|
||||
} else if (type === 'chat:message:files' || type === 'files') {
|
||||
message.files = data.files;
|
||||
message.files = isTemporaryChatId(event.chat_id)
|
||||
? [...(message.files ?? []), ...data.files]
|
||||
: data.files;
|
||||
} else if (type === 'chat:message:tasks') {
|
||||
chatTasks = data.tasks;
|
||||
} else if (type === 'chat:message:embeds' || type === 'embeds') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue