fix(patch): cherry-pick 643f2c0 to release/v0.11.1-pr-12300 to patch version v0.11.1 and create version 0.11.2 (#12335)

Co-authored-by: Victor May <mayvic@google.com>
This commit is contained in:
gemini-cli-robot
2025-10-30 19:20:45 -07:00
committed by GitHub
parent 5213d9f3f9
commit f36dec6ad4
2 changed files with 2 additions and 4 deletions

View File

@@ -581,7 +581,7 @@ describe('Server Config (config.ts)', () => {
useModelRouter: true,
});
await config.refreshAuth(AuthType.LOGIN_WITH_GOOGLE);
expect(config.getUseModelRouter()).toBe(false);
expect(config.getUseModelRouter()).toBe(true);
});
it('should enable model router by default for other auth types', async () => {

View File

@@ -476,9 +476,7 @@ export class Config {
this.useWriteTodos = params.useWriteTodos ?? false;
this.initialUseModelRouter = params.useModelRouter ?? false;
this.useModelRouter = this.initialUseModelRouter;
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [
AuthType.LOGIN_WITH_GOOGLE,
];
this.disableModelRouterForAuth = params.disableModelRouterForAuth ?? [];
this.enableMessageBusIntegration =
params.enableMessageBusIntegration ?? false;
this.codebaseInvestigatorSettings = {