Don't skip ephemeral stop strings if there are no custom stop strings

This commit is contained in:
Cohee
2023-12-01 17:18:30 +02:00
parent 8797508aa3
commit bb9d302c3a

View File

@@ -2209,11 +2209,7 @@ function getStoppingStrings(isImpersonate, isContinue) {
} }
result.push(...getInstructStoppingSequences()); result.push(...getInstructStoppingSequences());
result.push(...getCustomStoppingStrings());
if (power_user.custom_stopping_strings) {
const customStoppingStrings = getCustomStoppingStrings();
result.push(...customStoppingStrings);
}
if (power_user.single_line) { if (power_user.single_line) {
result.unshift('\n'); result.unshift('\n');