Add enabledModels to settings.json

This commit is contained in:
Duncan Ogilvie 2025-12-27 13:51:38 +01:00
parent 04fa79ebe0
commit 9e6282e3dd
4 changed files with 14 additions and 2 deletions

View file

@ -47,6 +47,7 @@ export interface Settings {
customTools?: string[]; // Array of custom tool file paths
skills?: SkillsSettings;
terminal?: TerminalSettings;
enabledModels?: string[]; // Model patterns for cycling (same format as --models CLI flag)
}
/** Deep merge settings: project/overrides take precedence, nested objects merge recursively */
@ -365,4 +366,8 @@ export class SettingsManager {
this.globalSettings.terminal.showImages = show;
this.save();
}
getEnabledModels(): string[] | undefined {
return this.settings.enabledModels;
}
}