Remove non-existent foreign lorebook extensions
This commit is contained in:
parent
e0df5783f8
commit
a7d3130f9a
|
@ -2511,11 +2511,11 @@ function convertAgnaiMemoryBook(inputObj) {
|
||||||
useProbability: false,
|
useProbability: false,
|
||||||
group: '',
|
group: '',
|
||||||
groupOverride: false,
|
groupOverride: false,
|
||||||
scanDepth: entry.extensions?.scan_depth ?? null,
|
scanDepth: null,
|
||||||
caseSensitive: entry.extensions?.case_sensitive ?? null,
|
caseSensitive: null,
|
||||||
matchWholeWords: entry.extensions?.match_whole_words ?? null,
|
matchWholeWords: null,
|
||||||
automationId: entry.extensions?.automation_id ?? '',
|
automationId: '',
|
||||||
role: entry.extensions?.role ?? extension_prompt_roles.SYSTEM,
|
role: extension_prompt_roles.SYSTEM,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2547,11 +2547,11 @@ function convertRisuLorebook(inputObj) {
|
||||||
useProbability: entry.activationPercent ?? false,
|
useProbability: entry.activationPercent ?? false,
|
||||||
group: '',
|
group: '',
|
||||||
groupOverride: false,
|
groupOverride: false,
|
||||||
scanDepth: entry.extensions?.scan_depth ?? null,
|
scanDepth: null,
|
||||||
caseSensitive: entry.extensions?.case_sensitive ?? null,
|
caseSensitive: null,
|
||||||
matchWholeWords: entry.extensions?.match_whole_words ?? null,
|
matchWholeWords: null,
|
||||||
automationId: entry.extensions?.automation_id ?? '',
|
automationId: '',
|
||||||
role: entry.extensions?.role ?? extension_prompt_roles.SYSTEM,
|
role: extension_prompt_roles.SYSTEM,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2588,11 +2588,11 @@ function convertNovelLorebook(inputObj) {
|
||||||
useProbability: false,
|
useProbability: false,
|
||||||
group: '',
|
group: '',
|
||||||
groupOverride: false,
|
groupOverride: false,
|
||||||
scanDepth: entry.extensions?.scan_depth ?? null,
|
scanDepth: null,
|
||||||
caseSensitive: entry.extensions?.case_sensitive ?? null,
|
caseSensitive: null,
|
||||||
matchWholeWords: entry.extensions?.match_whole_words ?? null,
|
matchWholeWords: null,
|
||||||
automationId: entry.extensions?.automation_id ?? '',
|
automationId: '',
|
||||||
role: entry.extensions?.role ?? extension_prompt_roles.SYSTEM,
|
role: extension_prompt_roles.SYSTEM,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue