mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use prefix in the migrated sysprompts
This commit is contained in:
@@ -29,7 +29,7 @@ async function migrateSystemPromptFromInstructMode() {
|
||||
if (existingPromptName) {
|
||||
power_user.sysprompt.name = existingPromptName;
|
||||
} else {
|
||||
const data = { name: `${power_user.instruct.preset} (Migrated)`, content: prompt };
|
||||
const data = { name: `[Migrated] ${power_user.instruct.preset}`, content: prompt };
|
||||
await getPresetManager('sysprompt')?.savePreset(data.name, data);
|
||||
power_user.sysprompt.name = data.name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user