Fix secondkey

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

View File

@@ -487,6 +487,13 @@ export async function loadLoreBookV3Prompt(){
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, {
keys: query.keys,