chore(Makefile): build react dist if missing
Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user