feat(cli): Enable model router by default and add to settings dialog (#9262)

This commit is contained in:
Abhi
2025-09-24 17:33:14 -04:00
committed by GitHub
parent 4c6da1eaf9
commit ee36307495
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1485,7 +1485,7 @@ describe('loadCliConfig model selection', () => {
argv,
);
expect(config.getModel()).toBe('gemini-2.5-pro');
expect(config.getModel()).toBe(DEFAULT_GEMINI_MODEL_AUTO);
});
it('always prefers model from argvs', async () => {
@@ -1803,7 +1803,7 @@ describe('loadCliConfig useRipgrep', () => {
const argv = await parseArguments({} as Settings);
const settings: Settings = {};
const config = await loadCliConfig(settings, [], 'test-session', argv);
expect(config.getUseModelRouter()).toBe(false);
expect(config.getUseModelRouter()).toBe(true);
});
it('should be true when useModelRouter is set to true in settings', async () => {