Add /models command for enabling/disabling Ctrl+P model cycling
- New /models command with toggle UI for each available model - Changes persist to enabledModels in settings.json - Updates take effect immediately for Ctrl+P cycling
This commit is contained in:
committed by
Mario Zechner
parent
42ed0129ed
commit
49acd8e648
@@ -447,6 +447,11 @@ export class SettingsManager {
|
||||
return this.settings.enabledModels;
|
||||
}
|
||||
|
||||
setEnabledModels(patterns: string[] | undefined): void {
|
||||
this.globalSettings.enabledModels = patterns;
|
||||
this.save();
|
||||
}
|
||||
|
||||
getDoubleEscapeAction(): "branch" | "tree" {
|
||||
return this.settings.doubleEscapeAction ?? "tree";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user