mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix formatting of hidden messages
This commit is contained in:
@ -1274,6 +1274,11 @@ function messageFormatting(mes, ch_name, isSystem, isUser) {
|
||||
isSystem = false;
|
||||
}
|
||||
|
||||
// Let hidden messages have markdown
|
||||
if (isSystem && ch_name !== systemUserName) {
|
||||
isSystem = false;
|
||||
}
|
||||
|
||||
// Prompt bias replacement should be applied on the raw message
|
||||
if (!power_user.show_user_prompt_bias && ch_name && !isUser && !isSystem) {
|
||||
mes = mes.replaceAll(substituteParams(power_user.user_prompt_bias), "");
|
||||
|
Reference in New Issue
Block a user