mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-29 09:06:36 +00:00
Enable Model Routing (#11154)
This commit is contained in:
@@ -2070,7 +2070,7 @@ describe('loadCliConfig model selection', () => {
|
||||
argv,
|
||||
);
|
||||
|
||||
expect(config.getModel()).toBe(DEFAULT_GEMINI_MODEL);
|
||||
expect(config.getModel()).toBe('auto');
|
||||
});
|
||||
|
||||
it('always prefers model from argvs', async () => {
|
||||
@@ -2506,7 +2506,7 @@ describe('loadCliConfig useRipgrep', () => {
|
||||
'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 () => {
|
||||
|
||||
Reference in New Issue
Block a user