Add .git to jsconfig ignore

This commit is contained in:
Cohee
2024-10-06 19:12:28 +03:00
parent f66261a52c
commit c8ef4b02bc
7 changed files with 23 additions and 24 deletions

View File

@ -554,11 +554,9 @@ export function formatInstructModePrompt(name, isImpersonate, promptBias, name1,
* @param {string} name Preset name.
*/
function selectMatchingContextTemplate(name) {
let foundMatch = false;
for (const context_preset of context_presets) {
// If context template matches the instruct preset
if (context_preset.name === name) {
foundMatch = true;
selectContextPreset(context_preset.name, { isAuto: true });
break;
}