mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 22:14:52 -07:00
Co-authored-by: Jerop Kipruto <jerop@google.com>
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user