mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
feat: message event
This commit is contained in:
parent
b094153af2
commit
7ba7b959a8
1 changed files with 2 additions and 0 deletions
|
|
@ -156,6 +156,8 @@
|
|||
} else {
|
||||
message.citations = [data];
|
||||
}
|
||||
} else if (type === 'message') {
|
||||
message.content += data.content;
|
||||
} else if (type === 'confirmation') {
|
||||
eventCallback = cb;
|
||||
showEventConfirmation = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue