Add multi-agent config and registry runtime flow

This commit is contained in:
lpf
2026-03-06 12:47:05 +08:00
parent 959870e6f7
commit 6902f65c54
29 changed files with 4654 additions and 76 deletions

View File

@@ -60,6 +60,7 @@ func agentCmd() {
configureCronServiceRuntime(cronService, cfg)
agentLoop := agent.NewAgentLoop(cfg, msgBus, provider, cronService)
agentLoop.SetConfigPath(getConfigPath())
startupInfo := agentLoop.GetStartupInfo()
logger.InfoCF("agent", logger.C0098,

View File

@@ -665,6 +665,7 @@ func buildGatewayRuntime(ctx context.Context, cfg *config.Config, msgBus *bus.Me
}
agentLoop := agent.NewAgentLoop(cfg, msgBus, provider, cronService)
agentLoop.SetConfigPath(getConfigPath())
startupInfo := agentLoop.GetStartupInfo()
toolsInfo := startupInfo["tools"].(map[string]interface{})