Don't trigger auto-continue after quiet gens

This commit is contained in:
Cohee 2023-09-15 21:49:52 +03:00
parent d34f7d3e1a
commit 77c8bc8eb5
1 changed files with 1 additions and 2 deletions

View File

@ -3221,10 +3221,9 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
setGenerationProgress(0); setGenerationProgress(0);
if (type !== 'quiet') { if (type !== 'quiet') {
triggerAutoContinue(messageChunk, isImpersonate);
resolve(); resolve();
} }
triggerAutoContinue(messageChunk, isImpersonate);
}; };
function onError(exception) { function onError(exception) {