feat/enh: regeneration options

This commit is contained in:
Timothy Jaeryang Baek
2025-08-09 02:00:21 +04:00
parent 17084f629c
commit 92f27bb21e
9 changed files with 300 additions and 75 deletions
+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;