Fix local variable name

5b65448a70ae3b1e1cec7c71a776fa142f417032

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -3Showing whitespace changes
public/scripts/sysprompt.js+3 -3
@@ -126,11 +126,11 @@ function selectSystemPromptCallback(args, name) {
126126 }
127127
128128 const quiet = isTrueBoolean(args?.quiet);
129129 const instructNamessystemPromptNames = system_prompts.map(preset => preset.name);
130130 let foundName = instructNamessystemPromptNames.find(x => x.toLowerCase() === name.toLowerCase());
131131
132132 if (!foundName) {
133133 const fuse = new Fuse(instructNamessystemPromptNames);
134134 const result = fuse.search(name);
135135
136136 if (result.length === 0) {