From 13c755c1976980d763737c68c8ee206aa51e1d1e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 13 May 2024 23:17:28 +0300 Subject: [PATCH] Compact summary log --- public/scripts/extensions/memory/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/public/scripts/extensions/memory/index.js b/public/scripts/extensions/memory/index.js index f5be30b03..a697f89da 100644 --- a/public/scripts/extensions/memory/index.js +++ b/public/scripts/extensions/memory/index.js @@ -804,10 +804,7 @@ function setMemoryContext(value, saveToMessage, index = null) { const context = getContext(); context.setExtensionPrompt(MODULE_NAME, formatMemoryValue(value), extension_settings.memory.position, extension_settings.memory.depth, false, extension_settings.memory.role); $('#memory_contents').val(value); - console.log('Summary set to: ' + value); - console.debug('Position: ' + extension_settings.memory.position); - console.debug('Depth: ' + extension_settings.memory.depth); - console.debug('Role: ' + extension_settings.memory.role); + console.log('Summary set to: ' + value, 'Position: ' + extension_settings.memory.position, 'Depth: ' + extension_settings.memory.depth, 'Role: ' + extension_settings.memory.role); if (saveToMessage && context.chat.length) { const idx = index ?? context.chat.length - 2;