Server fix for context template manager

This commit is contained in:
Cohee 2023-08-26 14:38:30 +03:00
parent 7ab857be46
commit 7e506db105
1 changed files with 2 additions and 0 deletions

View File

@ -3819,6 +3819,8 @@ function getPresetSettingsByAPI(apiId) {
return { folder: directories.textGen_Settings, extension: '.settings' };
case 'instruct':
return { folder: directories.instruct, extension: '.json' };
case 'context':
return { folder: directories.context, extension: '.json' };
default:
return { folder: null, extension: null };
}