From 06a9cea97dd73403cbf3c6f11beb2ce2566df83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Wed, 22 Jul 2026 10:34:42 +0800 Subject: [PATCH] Add files via upload --- internal/handler/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/handler/config.go b/internal/handler/config.go index 1b605b41..566038f2 100644 --- a/internal/handler/config.go +++ b/internal/handler/config.go @@ -1517,6 +1517,7 @@ func (h *ConfigHandler) ApplyConfig(c *gin.Context) { h.executor.SetToolOutputMaxBytes(h.config.MultiAgent.EinoMiddleware.ReductionMaxLengthForTruncEffective()) h.executor.SetToolOutputSpillRoot(h.config.MultiAgent.EinoMiddleware.ReductionRootDir) h.executor.RegisterTools(h.mcpServer) + mcp.RegisterExecutionControlTools(h.mcpServer, h.externalMCPMgr) // 重新注册漏洞记录工具(内置工具,必须注册) if h.vulnerabilityToolRegistrar != nil {