mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
fix: many model chat save as copy issue
This commit is contained in:
parent
2cfe6830df
commit
8532f9da03
2 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue