chore(config): disable agents by default (#23546)

This commit is contained in:
Abhi
2026-03-23 15:24:16 -04:00
committed by GitHub
parent ac95282758
commit b2d6dc4e32
8 changed files with 15 additions and 9 deletions

View File

@@ -1001,7 +1001,7 @@ export class Config implements McpContext, AgentLoopContext {
this.model = params.model;
this.disableLoopDetection = params.disableLoopDetection ?? false;
this._activeModel = params.model;
this.enableAgents = params.enableAgents ?? true;
this.enableAgents = params.enableAgents ?? false;
this.agents = params.agents ?? {};
this.disableLLMCorrection = params.disableLLMCorrection ?? true;
this.planEnabled = params.plan ?? true;