Change field names to match required fields

a3d7b540c79f071b166b6832025cb5d7ff6a20c8

Crow <bismuthglass@protonmail.com>

2 files changed, +12 -12Ignore whitespace
public/scripts/world-info.js+6 -6
@@ -4927,12 +4927,12 @@ export function convertCharacterBook(characterBook) {
49274927 sticky: entry.extensions?.sticky ?? null,
49284928 cooldown: entry.extensions?.cooldown ?? null,
49294929 delay: entry.extensions?.delay ?? null,
49304930 matchPersonaDescription: entry.extensions?.matchPersonaDescriptionmatch_persona_description ?? false,
49314931 matchCharacterDescription: entry.extensions?.matchCharacterDescriptionmatch_character_description ?? false,
49324932 matchCharacterPersonality: entry.extensions?.matchCharacterPersonalitymatch_character_personality ?? false,
49334933 matchCharacterDepthPrompt: entry.extensions?.matchCharacterDepthPromptmatch_character_depth_prompt ?? false,
49344934 matchScenario: entry.extensions?.matchScenariomatch_scenario ?? false,
49354935 matchCreatorNotes: entry.extensions?.matchCreatorNotesmatch_creator_notes ?? false,
49364936 extensions: entry.extensions ?? {},
49374937 };
49384938 });
src/endpoints/characters.js+6 -6
@@ -702,12 +702,12 @@ function convertWorldInfoToCharacterBook(name, entries) {
702702 sticky: entry.sticky ?? null,
703703 cooldown: entry.cooldown ?? null,
704704 delay: entry.delay ?? null,
705705 matchPersonaDescriptionmatch_persona_description: entry.matchPersonaDescription ?? false,
706706 matchCharacterDescriptionmatch_character_description: entry.matchCharacterDescription ?? false,
707707 matchCharacterPersonalitymatch_character_personality: entry.matchCharacterPersonality ?? false,
708708 matchCharacterDepthPromptmatch_character_depth_prompt: entry.matchCharacterDepthPrompt ?? false,
709709 matchScenariomatch_scenario: entry.matchScenario ?? false,
710710 matchCreatorNotesmatch_creator_notes: entry.matchCreatorNotes ?? false,
711711 },
712712 };
713713