diff --git a/public/script.js b/public/script.js index 53ab48e9c..87cce58cb 100644 --- a/public/script.js +++ b/public/script.js @@ -2022,11 +2022,12 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject, } // Extension added strings - //set non-WI AN + + // Set non-WI AN setFloatingPrompt(); - //add WI to prompt (and also inject WI to AN value via hijack) + // Add WI to prompt (and also inject WI to AN value via hijack) let { worldInfoString, worldInfoBefore, worldInfoAfter } = await getWorldInfoPrompt(chat2); - // call combined AN into Generate + // Call combined AN into Generate let allAnchors = getAllExtensionPrompts(); const afterScenarioAnchor = getExtensionPrompt(extension_prompt_types.AFTER_SCENARIO); let zeroDepthAnchor = getExtensionPrompt(extension_prompt_types.IN_CHAT, 0, ' '); diff --git a/public/scripts/extensions/floating-prompt/index.js b/public/scripts/extensions/floating-prompt/index.js index e354b19a5..da10671ec 100644 --- a/public/scripts/extensions/floating-prompt/index.js +++ b/public/scripts/extensions/floating-prompt/index.js @@ -199,7 +199,6 @@ function loadSettings() { export function setFloatingPrompt() { const context = getContext(); - console.log(context.characterId, context.groupId) if (!context.groupId && context.characterId === undefined) { return; } @@ -230,7 +229,6 @@ export function setFloatingPrompt() { : (chat_metadata[metadata_keys.interval] - lastMessageNumber); const shouldAddPrompt = messagesTillInsertion == 0; shouldWIAddPrompt = shouldAddPrompt; - console.debug(shouldAddPrompt, messagesTillInsertion); let prompt = shouldAddPrompt ? $('#extension_floating_prompt').val() : ''; if (shouldAddPrompt && extension_settings.note.chara && getContext().characterId) {