mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
Fix default sysprompt restoration
This commit is contained in:
parent
5b65448a70
commit
9101fb6573
@ -455,7 +455,7 @@ class PresetManager {
|
||||
}
|
||||
|
||||
isKeyedApi() {
|
||||
return this.apiId == 'textgenerationwebui' || this.apiId == 'context' || this.apiId == 'instruct';
|
||||
return this.apiId == 'textgenerationwebui' || this.isAdvancedFormatting();
|
||||
}
|
||||
|
||||
isAdvancedFormatting() {
|
||||
|
@ -153,7 +153,7 @@ export function initSystemPrompts() {
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
|
||||
$select.on('input', async function () {
|
||||
$select.on('change', async function () {
|
||||
if (!power_user.sysprompt.enabled) {
|
||||
$enabled.prop('checked', true).trigger('input');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user