mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-28 01:40:12 +01:00
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)
This commit is contained in:
parent
218416010f
commit
fd03ccdd4f
@ -2496,8 +2496,8 @@ export function getStoppingStrings(isImpersonate, isContinue) {
|
||||
result.push(charString);
|
||||
}
|
||||
|
||||
// Add other group members as the stopping strings
|
||||
if (selected_group) {
|
||||
// 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 && (name2 || isImpersonate)) {
|
||||
const group = groups.find(x => x.id === selected_group);
|
||||
|
||||
if (group && Array.isArray(group.members)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user