Fix secondkey

This commit is contained in:
kwaroran
2024-10-30 03:52:03 +09:00
parent 1226eb2649
commit ee79b20ea1

View File

@@ -486,6 +486,13 @@ export async function loadLoreBookV3Prompt(){
keys: fullLore[i].key.split(','),
negative: false
})
if(fullLore[i].secondkey && fullLore[i].selective){
searchQueries.push({
keys: fullLore[i].secondkey.split(','),
negative: false
})
}
for(const query of searchQueries){
const result = searchMatch(currentChat, {