Fix secondkey
This commit is contained in:
@@ -486,6 +486,13 @@ export async function loadLoreBookV3Prompt(){
|
|||||||
keys: fullLore[i].key.split(','),
|
keys: fullLore[i].key.split(','),
|
||||||
negative: false
|
negative: false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if(fullLore[i].secondkey && fullLore[i].selective){
|
||||||
|
searchQueries.push({
|
||||||
|
keys: fullLore[i].secondkey.split(','),
|
||||||
|
negative: false
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
for(const query of searchQueries){
|
for(const query of searchQueries){
|
||||||
const result = searchMatch(currentChat, {
|
const result = searchMatch(currentChat, {
|
||||||
|
|||||||
Reference in New Issue
Block a user