Fix character card lorebook imports / exports

This commit is contained in:
Crow
2025-04-24 20:13:18 +01:00
parent be591b2494
commit d7780ee4bb
2 changed files with 12 additions and 0 deletions

View File

@@ -4925,6 +4925,12 @@ export function convertCharacterBook(characterBook) {
sticky: entry.extensions?.sticky ?? null,
cooldown: entry.extensions?.cooldown ?? null,
delay: entry.extensions?.delay ?? null,
matchPersonaDescription: entry.extensions?.matchPersonaDescription ?? false,
matchCharacterDescription: entry.extensions?.matchCharacterDescription ?? false,
matchCharacterPersonality: entry.extensions?.matchCharacterPersonality ?? false,
matchCharacterDepthPrompt: entry.extensions?.matchCharacterDepthPrompt ?? false,
matchScenario: entry.extensions?.matchScenario ?? false,
matchCreatorNotes: entry.extensions?.matchCreatorNotes ?? false,
extensions: entry.extensions ?? {},
};
});