Fix secondkey
This commit is contained in:
@@ -487,6 +487,13 @@ export async function loadLoreBookV3Prompt(){
|
|||||||
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, {
|
||||||
keys: query.keys,
|
keys: query.keys,
|
||||||
|
|||||||
Reference in New Issue
Block a user