chore: format

This commit is contained in:
Timothy Jaeryang Baek 2026-10-21 15:09:54 +09:00
parent 7de90426a0
commit a26dda3eaf

View file

@ -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;