mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
feat: replace message event
This commit is contained in:
parent
856845e5f2
commit
540a669dae
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@
|
||||||
}
|
}
|
||||||
} else if (type === 'message') {
|
} else if (type === 'message') {
|
||||||
message.content += data.content;
|
message.content += data.content;
|
||||||
|
} else if (type === 'replace') {
|
||||||
|
message.content = data.content;
|
||||||
} else if (type === 'confirmation') {
|
} else if (type === 'confirmation') {
|
||||||
eventCallback = cb;
|
eventCallback = cb;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue