diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 00ce80e8d..c1cc8c0f8 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -1992,8 +1992,8 @@ export function fuzzySearchGroups(searchValue, fuzzySearchCaches = null) { */ export function renderStoryString(params, { customStoryString = null, customInstructSettings = null } = {}) { try { - const storyString = structuredClone(customStoryString ?? power_user.context.story_string); - const instructSettings = customInstructSettings ?? power_user.instruct; + const storyString = customStoryString ?? power_user.context.story_string; + const instructSettings = structuredClone(customInstructSettings ?? power_user.instruct); // Validate and log possible warnings/errors validateStoryString(storyString, params);