One extra check wouldn't hurt
This commit is contained in:
parent
88c47fccdf
commit
22f1b110e9
|
@ -183,7 +183,7 @@ class PresetManager {
|
|||
}
|
||||
|
||||
async savePreset(name, settings) {
|
||||
if (this.apiId === 'instruct') {
|
||||
if (this.apiId === 'instruct' && settings) {
|
||||
await checkForSystemPromptInInstructTemplate(name, settings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue