feat(plan): enable Plan Mode by default (#21713)

This commit is contained in:
Jerop Kipruto
2026-03-09 11:58:46 -04:00
committed by GitHub
parent a253938ac5
commit 35ee2a841a
15 changed files with 32 additions and 48 deletions

View File

@@ -2788,9 +2788,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', () => {

View File

@@ -885,7 +885,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.trackerEnabled = params.tracker ?? false;
this.planModeRoutingEnabled = params.planSettings?.modelRouting ?? true;
this.enableEventDrivenScheduler = params.enableEventDrivenScheduler ?? true;