diff --git a/public/index.html b/public/index.html index d36c7a094..77346b0fe 100644 --- a/public/index.html +++ b/public/index.html @@ -476,7 +476,7 @@
- Encoder Repetition Penalty + Encoder Penalty @@ -5065,4 +5065,4 @@ - \ No newline at end of file + diff --git a/public/script.js b/public/script.js index 011409dba..73395473b 100644 --- a/public/script.js +++ b/public/script.js @@ -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), ""); @@ -4776,7 +4781,7 @@ function getFirstMessage() { is_user: false, is_system: false, send_date: getMessageTimeStamp(), - mes: getRegexedString(firstMes, regex_placement.AI_OUTPUT), + mes: substituteParams(getRegexedString(firstMes, regex_placement.AI_OUTPUT)), extra: {}, }; diff --git a/public/style.css b/public/style.css index 9e4ca3fa9..4de84d145 100644 --- a/public/style.css +++ b/public/style.css @@ -3527,6 +3527,7 @@ a { aspect-ratio: 2 / 3; padding: 0; border: 0; + background-color: transparent; } .zoomed_avatar img { @@ -3706,4 +3707,4 @@ a { height: 100vh; z-index: 9999; } -} \ No newline at end of file +}