diff --git a/public/script.js b/public/script.js index 11bbd2430..fbc22e475 100644 --- a/public/script.js +++ b/public/script.js @@ -2481,6 +2481,8 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject, const name = is_pygmalion ? 'You' : name1; const quietAppend = isInstruct ? formatInstructModeChat(name, quiet_prompt, false, true, false, name1, name2) : `\n${name}: ${quiet_prompt}`; mesSendString += quietAppend; + // Bail out early + return mesSendString; } // Get instruct mode line @@ -8524,4 +8526,4 @@ $(document).ready(function () { } } } -}) \ No newline at end of file +})