mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#781 Don't add You stopping string for non-Pygmalion models
This commit is contained in:
@ -1635,6 +1635,10 @@ function getStoppingStrings(isImpersonate, addSpace) {
|
|||||||
|
|
||||||
result.push(userString);
|
result.push(userString);
|
||||||
|
|
||||||
|
if (!is_pygmalion && result.includes(youString)) {
|
||||||
|
result.splice(result.indexOf(youString), 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Add other group members as the stopping strings
|
// Add other group members as the stopping strings
|
||||||
if (selected_group) {
|
if (selected_group) {
|
||||||
const group = groups.find(x => x.id === selected_group);
|
const group = groups.find(x => x.id === selected_group);
|
||||||
|
Reference in New Issue
Block a user