From 306aa5f8942eff25a5966b9485715b6068de1a47 Mon Sep 17 00:00:00 2001 From: niceandneat Date: Sun, 4 May 2025 21:08:04 +0900 Subject: [PATCH] fix: prevent missing data field for recursive lorebook --- src/ts/process/lorebook.svelte.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ts/process/lorebook.svelte.ts b/src/ts/process/lorebook.svelte.ts index d428c6e1..eb8def18 100644 --- a/src/ts/process/lorebook.svelte.ts +++ b/src/ts/process/lorebook.svelte.ts @@ -448,6 +448,7 @@ export async function loadLoreBookV3Prompt(){ matching = true recursivePrompt.push({ prompt: content, + data: content, source: fullLore[i].comment || `lorebook ${i}` }) }