Fix default sysprompt restoration
| @@ -455,7 +455,7 @@ class PresetManager { | ||
| 455 | 455 | } |
| 456 | 456 | |
| 457 | 457 | isKeyedApi() { |
| 458 | 458 | return this.apiId == 'textgenerationwebui' || this.apiId == 'context' || this.apiId == 'instruct'isAdvancedFormatting(); |
| 459 | 459 | } |
| 460 | 460 | |
| 461 | 461 | isAdvancedFormatting() { |
| @@ -153,7 +153,7 @@ export function initSystemPrompts() { | ||
| 153 | 153 | saveSettingsDebounced(); |
| 154 | 154 | }); |
| 155 | 155 | |
| 156 | 156 | $select.on('inputchange', async function () { |
| 157 | 157 | if (!power_user.sysprompt.enabled) { |
| 158 | 158 | $enabled.prop('checked', true).trigger('input'); |
| 159 | 159 | } |