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) {
4927 sticky: entry.extensions?.sticky ?? null,4927 sticky: entry.extensions?.sticky ?? null,
4928 cooldown: entry.extensions?.cooldown ?? null,4928 cooldown: entry.extensions?.cooldown ?? null,
4929 delay: entry.extensions?.delay ?? null,4929 delay: entry.extensions?.delay ?? null,
4930 matchPersonaDescription: entry.extensions?.matchPersonaDescription ?? false,4930 matchPersonaDescription: entry.extensions?.match_persona_description ?? false,
4931 matchCharacterDescription: entry.extensions?.matchCharacterDescription ?? false,4931 matchCharacterDescription: entry.extensions?.match_character_description ?? false,
4932 matchCharacterPersonality: entry.extensions?.matchCharacterPersonality ?? false,4932 matchCharacterPersonality: entry.extensions?.match_character_personality ?? false,
4933 matchCharacterDepthPrompt: entry.extensions?.matchCharacterDepthPrompt ?? false,4933 matchCharacterDepthPrompt: entry.extensions?.match_character_depth_prompt ?? false,
4934 matchScenario: entry.extensions?.matchScenario ?? false,4934 matchScenario: entry.extensions?.match_scenario ?? false,
4935 matchCreatorNotes: entry.extensions?.matchCreatorNotes ?? false,4935 matchCreatorNotes: entry.extensions?.match_creator_notes ?? false,
4936 extensions: entry.extensions ?? {},4936 extensions: entry.extensions ?? {},
4937 };4937 };
4938 });4938 });
src/endpoints/characters.js+6 -6
@@ -702,12 +702,12 @@ function convertWorldInfoToCharacterBook(name, entries) {
702 sticky: entry.sticky ?? null,702 sticky: entry.sticky ?? null,
703 cooldown: entry.cooldown ?? null,703 cooldown: entry.cooldown ?? null,
704 delay: entry.delay ?? null,704 delay: entry.delay ?? null,
705 matchPersonaDescription: entry.matchPersonaDescription ?? false,705 match_persona_description: entry.matchPersonaDescription ?? false,
706 matchCharacterDescription: entry.matchCharacterDescription ?? false,706 match_character_description: entry.matchCharacterDescription ?? false,
707 matchCharacterPersonality: entry.matchCharacterPersonality ?? false,707 match_character_personality: entry.matchCharacterPersonality ?? false,
708 matchCharacterDepthPrompt: entry.matchCharacterDepthPrompt ?? false,708 match_character_depth_prompt: entry.matchCharacterDepthPrompt ?? false,
709 matchScenario: entry.matchScenario ?? false,709 match_scenario: entry.matchScenario ?? false,
710 matchCreatorNotes: entry.matchCreatorNotes ?? false,710 match_creator_notes: entry.matchCreatorNotes ?? false,
711 },711 },
712 };712 };
713713