mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
feat: replace message event
This commit is contained in:
parent
856845e5f2
commit
540a669dae
@ -161,6 +161,8 @@
|
||||
}
|
||||
} else if (type === 'message') {
|
||||
message.content += data.content;
|
||||
} else if (type === 'replace') {
|
||||
message.content = data.content;
|
||||
} else if (type === 'confirmation') {
|
||||
eventCallback = cb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user