Don't allow empty stop strings

This commit is contained in:
Cohee 2024-09-27 21:08:28 +03:00
parent 1abbd54f69
commit 3b27c90a19

View File

@ -2576,7 +2576,7 @@ export function getStoppingStrings(isImpersonate, isContinue) {
result.unshift('\n'); result.unshift('\n');
} }
return result.filter(onlyUnique); return result.filter(x => x).filter(onlyUnique);
} }
/** /**