mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Cloned preset before using
This commit is contained in:
@ -406,7 +406,7 @@ export function formatInstructModeSystemPrompt(systemPrompt, customInstruct = nu
|
||||
return '';
|
||||
}
|
||||
|
||||
const instruct = customInstruct ?? power_user.instruct;
|
||||
const instruct = structuredClone(customInstruct ?? power_user.instruct);
|
||||
|
||||
const separator = instruct.wrap ? '\n' : '';
|
||||
|
||||
|
Reference in New Issue
Block a user