Only add group member stopping strings on message - Only 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)

fd03ccdd4fb2d9ab6cca0a0cf1881d690cc9b9e4

Wolfsblvt <wolfsblvt@gmail.com>

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)) {