diff --git a/webui/routes.go b/webui/routes.go index d92a42c..86f647c 100644 --- a/webui/routes.go +++ b/webui/routes.go @@ -29,7 +29,9 @@ func (app *App) registerRoutes(pool *state.AgentPool, webapp *fiber.App) { webapp.Get("/", func(c *fiber.Ctx) error { return c.Render("views/index", fiber.Map{ - "Agents": pool.List(), + "Agents": pool.List(), + "AgentCount": len(pool.List()), + "Actions": len(services.AvailableActions), }) }) diff --git a/webui/views/agents.html b/webui/views/agents.html index 19a234f..95e0029 100644 --- a/webui/views/agents.html +++ b/webui/views/agents.html @@ -6,93 +6,133 @@
Manage and interact with your AI agents
- Online: {{ index $status . }}
-