feat/enh: regeneration options
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user