Panic for now if agent config is failing
Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
@@ -285,6 +285,7 @@ func (a *AgentPool) startAgentWithConfig(name string, config *AgentConfig) error
|
||||
go func() {
|
||||
if err := agent.Run(); err != nil {
|
||||
xlog.Error("Agent stopped", "error", err.Error())
|
||||
panic(err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user