mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 15:37:50 +01:00
Merge pull request #2011 from aisu-wata0/wi_remnant_debug_logs
removed some remnant debug logs
This commit is contained in:
commit
ecc638a76d
@ -752,7 +752,6 @@ function reloadMarkdownProcessor(render_formulas = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getCurrentChatId() {
|
function getCurrentChatId() {
|
||||||
console.debug(`selectedGroup:${selected_group}, this_chid:${this_chid}`);
|
|
||||||
if (selected_group) {
|
if (selected_group) {
|
||||||
return groups.find(x => x.id == selected_group)?.chat_id;
|
return groups.find(x => x.id == selected_group)?.chat_id;
|
||||||
}
|
}
|
||||||
|
@ -2102,8 +2102,6 @@ async function checkWorldInfo(chat, maxContext) {
|
|||||||
const substituted = substituteParams(key);
|
const substituted = substituteParams(key);
|
||||||
const textToScan = buffer.get(entry);
|
const textToScan = buffer.get(entry);
|
||||||
|
|
||||||
console.debug(`${entry.uid}: ${substituted}`);
|
|
||||||
|
|
||||||
if (substituted && buffer.matchKeys(textToScan, substituted.trim(), entry)) {
|
if (substituted && buffer.matchKeys(textToScan, substituted.trim(), entry)) {
|
||||||
console.debug(`WI UID ${entry.uid} found by primary match: ${substituted}.`);
|
console.debug(`WI UID ${entry.uid} found by primary match: ${substituted}.`);
|
||||||
|
|
||||||
@ -2160,7 +2158,7 @@ async function checkWorldInfo(chat, maxContext) {
|
|||||||
activatedNow.add(entry);
|
activatedNow.add(entry);
|
||||||
break primary;
|
break primary;
|
||||||
}
|
}
|
||||||
} else { console.debug(`No active entries for logic checks for word: ${substituted}.`); }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user