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
This commit is contained in:
commit
ed99e41985
|
@ -2496,8 +2496,8 @@ export function getStoppingStrings(isImpersonate, isContinue) {
|
||||||
result.push(charString);
|
result.push(charString);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add other group members as the stopping strings
|
// 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)
|
||||||
if (selected_group) {
|
if (selected_group && (name2 || isImpersonate)) {
|
||||||
const group = groups.find(x => x.id === selected_group);
|
const group = groups.find(x => x.id === selected_group);
|
||||||
|
|
||||||
if (group && Array.isArray(group.members)) {
|
if (group && Array.isArray(group.members)) {
|
||||||
|
|
Loading…
Reference in New Issue