mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-23 07:51:18 +01:00
Don't allow empty stop strings
This commit is contained in:
parent
1abbd54f69
commit
3b27c90a19
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user