mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#1294 Fix selective logic for embedded lorebooks
This commit is contained in:
@@ -1736,6 +1736,7 @@ function convertCharacterBook(characterBook) {
|
|||||||
probability: entry.extensions?.probability ?? null,
|
probability: entry.extensions?.probability ?? null,
|
||||||
useProbability: entry.extensions?.useProbability ?? false,
|
useProbability: entry.extensions?.useProbability ?? false,
|
||||||
depth: entry.extensions?.depth ?? DEFAULT_DEPTH,
|
depth: entry.extensions?.depth ?? DEFAULT_DEPTH,
|
||||||
|
selectiveLogic: entry.extensions?.selectiveLogic ?? 0,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -1803,6 +1803,7 @@ function convertWorldInfoToCharacterBook(name, entries) {
|
|||||||
probability: entry.probability ?? null,
|
probability: entry.probability ?? null,
|
||||||
useProbability: entry.useProbability ?? false,
|
useProbability: entry.useProbability ?? false,
|
||||||
depth: entry.depth ?? 4,
|
depth: entry.depth ?? 4,
|
||||||
|
selectiveLogic: entry.selectiveLogic ?? 0,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user