mirror of
https://github.com/open-webui/open-webui
synced 2025-03-31 07:40:06 +00:00
feat: message event
This commit is contained in:
parent
b094153af2
commit
7ba7b959a8
@ -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 New Issue
Block a user