mirror of
https://github.com/open-webui/open-webui
synced 2025-01-30 22:39:03 +00:00
fix: many model chat save as copy issue
This commit is contained in:
parent
2cfe6830df
commit
8532f9da03
@ -399,6 +399,7 @@
|
|||||||
parentMessage={history.messages[message.parentId]}
|
parentMessage={history.messages[message.parentId]}
|
||||||
{messageIdx}
|
{messageIdx}
|
||||||
{updateChatMessages}
|
{updateChatMessages}
|
||||||
|
{saveNewResponseMessage}
|
||||||
{confirmEditResponseMessage}
|
{confirmEditResponseMessage}
|
||||||
{rateMessage}
|
{rateMessage}
|
||||||
copyToClipboard={copyToClipboardWithToast}
|
copyToClipboard={copyToClipboardWithToast}
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
export let continueGeneration: Function;
|
export let continueGeneration: Function;
|
||||||
export let mergeResponses: Function;
|
export let mergeResponses: Function;
|
||||||
export let regenerateResponse: Function;
|
export let regenerateResponse: Function;
|
||||||
|
export let saveNewResponseMessage: Function;
|
||||||
|
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
@ -184,6 +185,7 @@
|
|||||||
siblings={groupedMessages[modelIdx].messages.map((m) => m.id)}
|
siblings={groupedMessages[modelIdx].messages.map((m) => m.id)}
|
||||||
isLastMessage={true}
|
isLastMessage={true}
|
||||||
{updateChatMessages}
|
{updateChatMessages}
|
||||||
|
{saveNewResponseMessage}
|
||||||
{confirmEditResponseMessage}
|
{confirmEditResponseMessage}
|
||||||
showPreviousMessage={() => showPreviousMessage(modelIdx)}
|
showPreviousMessage={() => showPreviousMessage(modelIdx)}
|
||||||
showNextMessage={() => showNextMessage(modelIdx)}
|
showNextMessage={() => showNextMessage(modelIdx)}
|
||||||
|
Loading…
Reference in New Issue
Block a user