diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 791723d96..f9f4a63d2 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -399,6 +399,7 @@ parentMessage={history.messages[message.parentId]} {messageIdx} {updateChatMessages} + {saveNewResponseMessage} {confirmEditResponseMessage} {rateMessage} copyToClipboard={copyToClipboardWithToast} diff --git a/src/lib/components/chat/Messages/MultiResponseMessages.svelte b/src/lib/components/chat/Messages/MultiResponseMessages.svelte index b86e579a5..4a845dbb9 100644 --- a/src/lib/components/chat/Messages/MultiResponseMessages.svelte +++ b/src/lib/components/chat/Messages/MultiResponseMessages.svelte @@ -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)}