Fix continue and bias spacing inconsistencies

This commit is contained in:
Cohee
2024-03-23 17:51:53 +02:00
parent 607df2f555
commit 1ff0e89529
2 changed files with 2 additions and 2 deletions

View File

@ -3524,7 +3524,7 @@ async function Generate(type, { automatic_trigger, force_name2, quiet_prompt, qu
}
// Add a space if prompt cache doesn't start with one
if (!/^\s/.test(promptCache) && !isInstruct && !isContinue) {
if (!/^\s/.test(promptCache) && !isInstruct) {
promptCache = ' ' + promptCache;
}