From 5ab9d9b8630adba9488e5f91b00ff322efa8e202 Mon Sep 17 00:00:00 2001 From: Aisu Wata Date: Thu, 4 Apr 2024 03:08:17 -0300 Subject: [PATCH] removed some remnant debug logs --- public/script.js | 1 - public/scripts/world-info.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/script.js b/public/script.js index 76a0b4d91..a5207c022 100644 --- a/public/script.js +++ b/public/script.js @@ -752,7 +752,6 @@ function reloadMarkdownProcessor(render_formulas = false) { } function getCurrentChatId() { - console.debug(`selectedGroup:${selected_group}, this_chid:${this_chid}`); if (selected_group) { return groups.find(x => x.id == selected_group)?.chat_id; } diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 29582a1f0..4f9bd733f 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2102,8 +2102,6 @@ async function checkWorldInfo(chat, maxContext) { const substituted = substituteParams(key); const textToScan = buffer.get(entry); - console.debug(`${entry.uid}: ${substituted}`); - if (substituted && buffer.matchKeys(textToScan, substituted.trim(), entry)) { console.debug(`WI UID ${entry.uid} found by primary match: ${substituted}.`); @@ -2160,7 +2158,7 @@ async function checkWorldInfo(chat, maxContext) { activatedNow.add(entry); break primary; } - } else { console.debug(`No active entries for logic checks for word: ${substituted}.`); } + } } } }