From a44ea3610d4b27999e26950dc592f04fdbb5378c Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 30 Oct 2024 12:42:43 +0900 Subject: [PATCH] Change lorebook.svelte.ts to enable recursive scanning by default --- src/ts/process/lorebook.svelte.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/lorebook.svelte.ts b/src/ts/process/lorebook.svelte.ts index 5a707267..4abaaee1 100644 --- a/src/ts/process/lorebook.svelte.ts +++ b/src/ts/process/lorebook.svelte.ts @@ -217,7 +217,7 @@ export async function loadLoreBookV3Prompt(){ const loreToken = char.loreSettings?.tokenBudget ?? DBState.db.loreBookToken const fullWordMatchingSetting = char.loreSettings?.fullWordMatching ?? false const chatLength = currentChat.length + 1 //includes first message - const recursiveScanning = char.loreSettings?.recursiveScanning ?? false + const recursiveScanning = char.loreSettings?.recursiveScanning ?? true let recursiveAdditionalPrompt = '' const searchMatch = (messages:Message[],arg:{