chore(Makefile): build react dist if missing

Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
mudler
2025-03-26 16:57:46 +01:00
parent 3e36b09376
commit 8e9b87bcb1
4 changed files with 83 additions and 12 deletions

View File

@@ -138,7 +138,7 @@ func (a *App) Create(pool *state.AgentPool) func(c *fiber.Ctx) error {
if err := pool.CreateAgent(config.Name, &config); err != nil {
return errorJSONMessage(c, err.Error())
}
return statusJSONMessage(c, "ok")
}
}