fix(patch): cherry-pick 35ee2a8 to release/v0.33.0-preview.10-pr-21713 (#21859)

Co-authored-by: Jerop Kipruto <jerop@google.com>
This commit is contained in:
gemini-cli-robot
2026-03-10 08:17:21 -04:00
committed by GitHub
parent 78b0b3dd4d
commit 0af0fb6a50
15 changed files with 32 additions and 86 deletions
+2 -2
View File
@@ -2759,9 +2759,9 @@ describe('Config Quota & Preview Model Access', () => {
});
describe('isPlanEnabled', () => {
it('should return false by default', () => {
it('should return true by default', () => {
const config = new Config(baseParams);
expect(config.isPlanEnabled()).toBe(false);
expect(config.isPlanEnabled()).toBe(true);
});
it('should return true when plan is enabled', () => {
+1 -1
View File
@@ -869,7 +869,7 @@ export class Config implements McpContext {
this.enableAgents = params.enableAgents ?? false;
this.agents = params.agents ?? {};
this.disableLLMCorrection = params.disableLLMCorrection ?? true;
this.planEnabled = params.plan ?? false;
this.planEnabled = params.plan ?? true;
this.planModeRoutingEnabled = params.planSettings?.modelRouting ?? true;
this.enableEventDrivenScheduler = params.enableEventDrivenScheduler ?? true;
this.skillsSupport = params.skillsSupport ?? true;