forked from open-webui/open-webui
feat: set originalContent for better chat log
This commit is contained in:
parent
734ba8f762
commit
8ee7713623
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@
|
|||
const editMessageHandler = async (messageId) => {
|
||||
// let editMessage = history.messages[messageId];
|
||||
history.messages[messageId].edit = true;
|
||||
history.messages[messageId].originalContent = history.messages[messageId].content;
|
||||
history.messages[messageId].editedContent = history.messages[messageId].content;
|
||||
|
||||
await tick();
|
||||
|
|
Loading…
Reference in a new issue