mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 17:07:46 +01:00
Script: Fix greeting message with continue
Add author's note when continuing the first message of a conversation. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
3f406dcdf0
commit
dbf964e430
@ -2690,7 +2690,8 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
|||||||
pinExmString = examplesString = mesExamplesArray.join('');
|
pinExmString = examplesString = mesExamplesArray.join('');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isContinue) {
|
// Only add the chat in context if past the greeting message
|
||||||
|
if (isContinue && chat2.length > 1) {
|
||||||
cyclePrompt = chat2.shift();
|
cyclePrompt = chat2.shift();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user