Fix structuredClone
| @@ -1992,8 +1992,8 @@ export function fuzzySearchGroups(searchValue, fuzzySearchCaches = null) { | ||
| 1992 | 1992 | */ |
| 1993 | 1993 | export function renderStoryString(params, { customStoryString = null, customInstructSettings = null } = {}) { |
| 1994 | 1994 | try { |
| 1995 | 1995 | const storyString = structuredClone(customStoryString ?? power_user.context.story_string); |
| 1996 | 1996 | const instructSettings = structuredClone(customInstructSettings ?? power_user.instruct); |
| 1997 | 1997 | |
| 1998 | 1998 | // Validate and log possible warnings/errors |
| 1999 | 1999 | validateStoryString(storyString, params); |