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

@@ -42,6 +42,7 @@ type (
RouteProviderList() []string
Context() context.Context
GetAgent(agentDockerHost string) (*agent.AgentConfig, bool)
ListAgents() []*agent.AgentConfig
}
)