Skip to content

Commit 62c2e36

Browse files
committed
refactor(CodingAgent): comment out CodebaseInvestigatorAgent initialization and registration #453
1 parent ae29c86 commit 62c2e36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mpp-core/src/commonMain/kotlin/cc/unitmesh/agent/CodingAgent.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class CodingAgent(
8181
ToolNames.GLOB,
8282
ToolNames.ERROR_RECOVERY,
8383
ToolNames.LOG_SUMMARY,
84-
ToolNames.CODEBASE_INVESTIGATOR
84+
// ToolNames.CODEBASE_INVESTIGATOR
8585
)
8686
)
8787
)
@@ -98,13 +98,13 @@ class CodingAgent(
9898
// SubAgents
9999
private val errorRecoveryAgent = ErrorRecoveryAgent(projectPath, llmService)
100100
private val logSummaryAgent = LogSummaryAgent(llmService, threshold = 2000)
101-
private val codebaseInvestigatorAgent = CodebaseInvestigatorAgent(projectPath, llmService)
101+
// private val codebaseInvestigatorAgent = CodebaseInvestigatorAgent(projectPath, llmService)
102102

103103
init {
104104
// 注册 SubAgents(作为 Tools)
105105
registerTool(errorRecoveryAgent)
106106
registerTool(logSummaryAgent)
107-
registerTool(codebaseInvestigatorAgent)
107+
// registerTool(codebaseInvestigatorAgent)
108108
}
109109

110110
override suspend fun execute(

0 commit comments

Comments
 (0)