mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
Merge pull request #3825 from michaelpoluektov/replace-message-event
feat: Replace message event
This commit is contained in:
commit
a049b38ab5
@ -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