Merge pull request #2636 from SillyTavern/stopping-strings-group-members Group members as stopping strings only added if generating for a specific member or impersonating

ed99e419857242a8dc55550d99fb368c3a6be29e

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +2 -2Ignore whitespace
public/script.js+2 -2
@@ -2496,8 +2496,8 @@ export function getStoppingStrings(isImpersonate, isContinue) {
2496 result.push(charString);2496 result.push(charString);
2497 }2497 }
24982498
2499 // Add other group members as the stopping strings2499 // Add group members as stopping strings if generating for a specific group member or user. (Allow slash commands to work around name stopping string restrictions)
2500 if (selected_group) {2500 if (selected_group && (name2 || isImpersonate)) {
2501 const group = groups.find(x => x.id === selected_group);2501 const group = groups.find(x => x.id === selected_group);
25022502
2503 if (group && Array.isArray(group.members)) {2503 if (group && Array.isArray(group.members)) {