mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
chore: format
This commit is contained in:
parent
7de90426a0
commit
a26dda3eaf
1 changed files with 2 additions and 1 deletions
|
|
@ -2962,7 +2962,8 @@
|
|||
if (initialHistory.messages[id] !== message)
|
||||
chatContent.history.messages[id] = { ...chatContent.history.messages[id], ...message };
|
||||
}
|
||||
if (history.currentId !== initialHistory.currentId) chat.current_message_id = history.currentId;
|
||||
if (history.currentId !== initialHistory.currentId)
|
||||
chat.current_message_id = history.currentId;
|
||||
history = chatContent.history;
|
||||
if (chat?.current_message_id && history?.messages?.[chat.current_message_id]) {
|
||||
history.currentId = chat.current_message_id;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue