fix: many model chat save as copy issue

This commit is contained in:
Timothy J. Baek 2024-09-22 20:16:45 +02:00
parent 2cfe6830df
commit 8532f9da03
2 changed files with 3 additions and 0 deletions

View File

@ -399,6 +399,7 @@
parentMessage={history.messages[message.parentId]}
{messageIdx}
{updateChatMessages}
{saveNewResponseMessage}
{confirmEditResponseMessage}
{rateMessage}
copyToClipboard={copyToClipboardWithToast}

View File

@ -38,6 +38,7 @@
export let continueGeneration: Function;
export let mergeResponses: Function;
export let regenerateResponse: Function;
export let saveNewResponseMessage: Function;
const dispatch = createEventDispatcher();
@ -184,6 +185,7 @@
siblings={groupedMessages[modelIdx].messages.map((m) => m.id)}
isLastMessage={true}
{updateChatMessages}
{saveNewResponseMessage}
{confirmEditResponseMessage}
showPreviousMessage={() => showPreviousMessage(modelIdx)}
showNextMessage={() => showNextMessage(modelIdx)}