fix: prevent missing data field for 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