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:
@@ -448,6 +448,7 @@ export async function loadLoreBookV3Prompt(){
|
|||||||
matching = true
|
matching = true
|
||||||
recursivePrompt.push({
|
recursivePrompt.push({
|
||||||
prompt: content,
|
prompt: content,
|
||||||
|
data: content,
|
||||||
source: fullLore[i].comment || `lorebook ${i}`
|
source: fullLore[i].comment || `lorebook ${i}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user