mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add macro replacing to stopping strings
This commit is contained in:
@ -1370,10 +1370,10 @@ function getStoppingStrings(isImpersonate, addSpace) {
|
|||||||
|
|
||||||
if (power_user.instruct.enabled) {
|
if (power_user.instruct.enabled) {
|
||||||
if (power_user.instruct.input_sequence) {
|
if (power_user.instruct.input_sequence) {
|
||||||
result.push(wrap(power_user.instruct.input_sequence));
|
result.push(substituteParams(wrap(power_user.instruct.input_sequence), name1, name2));
|
||||||
}
|
}
|
||||||
if (power_user.instruct.output_sequence) {
|
if (power_user.instruct.output_sequence) {
|
||||||
result.push(wrap(power_user.instruct.output_sequence));
|
result.push(substituteParams(wrap(power_user.instruct.output_sequence), name1, name2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user