Closes #4187 [FEATURE_REQUEST] Allow wildcards in Banned Strings List
| @@ -423,7 +423,8 @@ function getCustomTokenBans() { | |||
| 423 | .concat(settings.global_banned_tokens.split('\n')) | 423 | .concat(settings.global_banned_tokens.split('\n')) |
| 424 | .concat(textgenerationwebui_banned_in_macros) | 424 | .concat(textgenerationwebui_banned_in_macros) |
| 425 | .filter(x => x.length > 0) | 425 | .filter(x => x.length > 0) |
| 426 | .filter(onlyUnique); | 426 | .filter(onlyUnique) |
| 427 | .map(x => substituteParams(x)); | ||
| 427 | 428 | ||
| 428 | //debug | 429 | //debug |
| 429 | if (textgenerationwebui_banned_in_macros.length) { | 430 | if (textgenerationwebui_banned_in_macros.length) { |