feat/enh: regeneration options

This commit is contained in:
Timothy Jaeryang Baek committed 2025-08-09 02:00:21 +04:00
1 parent 17084f629c
commit 92f27bb21e
9 files changed
+300 -75

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@
export let setInputText: Function = () => {};
export let sendPrompt: Function;
export let sendMessage: Function;
export let continueResponse: Function;
export let regenerateResponse: Function;
export let mergeResponses: Function;
@@ -294,7 +294,7 @@
history.currentId = userMessageId;
await tick();
await sendPrompt(history, userPrompt, userMessageId);
await sendMessage(history, userMessageId);
} else {
// Edit user message
history.messages[messageId].content = content;