From ebe5f355d34ac8549728ddaea6ea3bb2fae19df8 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 5 Nov 2023 18:34:11 +0200 Subject: [PATCH 1/4] Fix formatting of hidden messages --- public/script.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/script.js b/public/script.js index 011409dba..7a2df6598 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), ""); From 583c737106a399fe6c88f559c83a51d3f487b5fa Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 5 Nov 2023 19:01:48 +0200 Subject: [PATCH 2/4] #1313 Transparency for zoomed avatars --- public/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 6c09d4359..9d5caf64f 100644 --- a/public/style.css +++ b/public/style.css @@ -3525,6 +3525,7 @@ a { aspect-ratio: 2 / 3; padding: 0; border: 0; + background-color: transparent; } .zoomed_avatar img { @@ -3704,4 +3705,4 @@ a { height: 100vh; z-index: 9999; } -} \ No newline at end of file +} From 5120cf38f05ef87fe3b0e7605b06d5d6586fb1a2 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 5 Nov 2023 19:14:17 +0200 Subject: [PATCH 3/4] Fix macros in first message with alt.greetings --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 7a2df6598..73395473b 100644 --- a/public/script.js +++ b/public/script.js @@ -4781,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: {}, }; From 22ce54649d827e7a8b5b0cffcb2b28161e16cb73 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 5 Nov 2023 19:41:04 +0200 Subject: [PATCH 4/4] Cut enc.rep.pen slider name --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +