Modify quiet prompt sending to text completion models.

This commit is contained in:
Cohee
2023-07-10 18:13:11 +03:00
parent 3ade04ed68
commit f76db66e25

View File

@@ -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 () {
}
}
}
})
})