mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #969 from StefanDanielSchwarz/end-prompt-with-newline
End Prompt with Newline
This commit is contained in:
@ -1097,7 +1097,7 @@ export function formatInstructModePrompt(name, isImpersonate, promptBias, name1,
|
|||||||
text += (includeNames ? promptBias : (separator + promptBias));
|
text += (includeNames ? promptBias : (separator + promptBias));
|
||||||
}
|
}
|
||||||
|
|
||||||
return text.trimEnd();
|
return text.trimEnd() + (includeNames ? '' : separator);
|
||||||
}
|
}
|
||||||
|
|
||||||
const sortFunc = (a, b) => power_user.sort_order == 'asc' ? compareFunc(a, b) : compareFunc(b, a);
|
const sortFunc = (a, b) => power_user.sort_order == 'asc' ? compareFunc(a, b) : compareFunc(b, a);
|
||||||
|
Reference in New Issue
Block a user