fix agent hot-reload issue and added list agents endpoint

This commit is contained in:
yusing
2025-02-11 12:45:34 +08:00
parent 429a77de8e
commit 71619042fd
6 changed files with 47 additions and 16 deletions

View File

@@ -135,7 +135,7 @@ func (cfg *AgentConfig) Start(parent task.Parent) E.Error {
cfg.name = string(name)
cfg.l = logging.With().Str("agent", cfg.name).Logger()
logging.Info().Msgf("agent %q started", cfg.name)
logging.Info().Msgf("agent %q initialized", cfg.name)
return nil
}