Allow incomplete sentences on quiet prompts

This commit is contained in:
Cohee 2023-08-09 16:41:12 +03:00
parent 41f504ef00
commit e39e9428b6
1 changed files with 2 additions and 1 deletions

View File

@ -2958,7 +2958,8 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
}
//Formating
getMessage = cleanUpMessage(getMessage, isImpersonate, isContinue);
const displayIncomplete = type == 'quiet';
getMessage = cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete);
let this_mes_is_name;
({ this_mes_is_name, getMessage } = extractNameFromMessage(getMessage, force_name2, isImpersonate));