enable cli_help agent by default (#16100)

This commit is contained in:
Tommaso Sciortino
2026-01-07 15:43:12 -08:00
committed by GitHub
parent 51d3f44d51
commit 1aa35c8796
7 changed files with 12 additions and 10 deletions
+1
View File
@@ -941,6 +941,7 @@ describe('Server Config (config.ts)', () => {
const params: ConfigParameters = {
...baseParams,
codebaseInvestigatorSettings: { enabled: false },
cliHelpAgentSettings: { enabled: false },
};
const config = new Config(params);
+3 -2
View File
@@ -622,7 +622,7 @@ export class Config {
model: params.codebaseInvestigatorSettings?.model,
};
this.cliHelpAgentSettings = {
enabled: params.cliHelpAgentSettings?.enabled ?? false,
enabled: params.cliHelpAgentSettings?.enabled ?? true,
};
this.continueOnFailedApiCall = params.continueOnFailedApiCall ?? true;
this.enableShellOutputEfficiency =
@@ -1754,7 +1754,8 @@ export class Config {
// Register DelegateToAgentTool if agents are enabled
if (
this.isAgentsEnabled() ||
this.getCodebaseInvestigatorSettings().enabled
this.getCodebaseInvestigatorSettings().enabled ||
this.getCliHelpAgentSettings().enabled
) {
// Check if the delegate tool itself is allowed (if allowedTools is set)
const allowedTools = this.getAllowedTools();