mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Modify quiet prompt sending to text completion models.
This commit is contained in:
@@ -2481,6 +2481,8 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
|||||||
const name = is_pygmalion ? 'You' : name1;
|
const name = is_pygmalion ? 'You' : name1;
|
||||||
const quietAppend = isInstruct ? formatInstructModeChat(name, quiet_prompt, false, true, false, name1, name2) : `\n${name}: ${quiet_prompt}`;
|
const quietAppend = isInstruct ? formatInstructModeChat(name, quiet_prompt, false, true, false, name1, name2) : `\n${name}: ${quiet_prompt}`;
|
||||||
mesSendString += quietAppend;
|
mesSendString += quietAppend;
|
||||||
|
// Bail out early
|
||||||
|
return mesSendString;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get instruct mode line
|
// Get instruct mode line
|
||||||
|
Reference in New Issue
Block a user