Add files via upload

This commit is contained in:
公明
2026-06-25 14:48:25 +08:00
committed by GitHub
parent 95470fefbc
commit 6e4ff96dcd
+4
View File
@@ -135,6 +135,10 @@ func New(cfg *config.Config, log *logger.Logger, configPath string) (*App, error
externalMCPMgr.StartAllEnabled()
}
execReconciler := monitor.NewExecutionReconciler(db, mcpServer, externalMCPMgr, log.Logger)
execReconciler.ReconcileOnStartup()
monitor.StartStaleRunningReconcileLoop(execReconciler, log.Logger)
// 创建Agent
maxIterations := cfg.Agent.MaxIterations
if maxIterations <= 0 {