remove mode setting

This commit is contained in:
duanfuxiang
2025-04-10 11:04:57 +08:00
parent 032111994b
commit 3493bccb43
2 changed files with 1 additions and 17 deletions

View File

@@ -112,22 +112,6 @@ export class InfioSettingTab extends PluginSettingTab {
});
}),
);
new Setting(containerEl)
.setName('Mode for new chat')
.setDesc('Choose the mode to use when starting a new chat.')
.addDropdown((dropdown) =>
dropdown
.addOption('ask', 'Ask')
.addOption('write', 'Write')
.addOption('research', 'Research')
.setValue(this.plugin.settings.mode || 'ask')
.onChange(async (value) => {
await this.plugin.setSettings({
...this.plugin.settings,
mode: value as 'ask' | 'write' | 'research',
});
}),
);
}
renderModelsSection(containerEl: HTMLElement): void {