chore(core): remove redundant getters from config in agent-tool branch

This commit is contained in:
Adam Weidman
2026-05-12 18:06:50 -04:00
parent 8db40e5150
commit 1c2fadf216
-8
View File
@@ -2604,10 +2604,6 @@ export class Config implements McpContext, AgentLoopContext {
return this.experimentalContextManagementConfig;
}
isAgentSessionEnabled(): boolean {
return this.agentSessionSubagentEnabled;
}
getContextManagementConfig(): ContextManagementConfig {
return this.contextManagement;
}
@@ -3818,10 +3814,6 @@ export class Config implements McpContext, AgentLoopContext {
);
}
getAgentSessionSubagentEnabled(): boolean {
return this.agentSessionSubagentEnabled;
}
/**
* Get override settings for a specific agent.
* Reads from agents.overrides.<agentName>.