Don't display incomplete sentences in quiet-to-loud prompts if trim is enabled

This commit is contained in:
Cohee 2023-11-22 16:21:43 +02:00
parent 61908935f5
commit 73eeab9ace
1 changed files with 1 additions and 1 deletions

View File

@ -3703,7 +3703,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
}
//Formating
const displayIncomplete = type == 'quiet';
const displayIncomplete = type === 'quiet' && !quietToLoud;
getMessage = cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete);
if (getMessage.length > 0) {