fix: prevent missing data field for recursive lorebook (#839)

# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description

Filled data field when creating a recursive lorebook.
This commit is contained in:
kwaroran
2025-05-10 20:16:51 +09:00
committed by GitHub

View File

@@ -448,6 +448,7 @@ export async function loadLoreBookV3Prompt(){
matching = true
recursivePrompt.push({
prompt: content,
data: content,
source: fullLore[i].comment || `lorebook ${i}`
})
}