Fix default sysprompt restoration

9101fb65733d1273441c820582b0126bf98d21d5

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

2 files changed, +2 -2Ignore whitespace
public/scripts/preset-manager.js+1 -1
@@ -455,7 +455,7 @@ class PresetManager {
455455 }
456456
457457 isKeyedApi() {
458458 return this.apiId == 'textgenerationwebui' || this.apiId == 'context' || this.apiId == 'instruct'isAdvancedFormatting();
459459 }
460460
461461 isAdvancedFormatting() {
public/scripts/sysprompt.js+1 -1
@@ -153,7 +153,7 @@ export function initSystemPrompts() {
153153 saveSettingsDebounced();
154154 });
155155
156156 $select.on('inputchange', async function () {
157157 if (!power_user.sysprompt.enabled) {
158158 $enabled.prop('checked', true).trigger('input');
159159 }