mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove non-existent foreign lorebook extensions
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user