This commit is contained in:
Ettore Di Giacinto
2024-04-07 00:22:17 +02:00
parent 27202c3622
commit 23867bf0e6

View File

@@ -8,7 +8,16 @@ import (
. "github.com/mudler/local-agent-framework/agent" . "github.com/mudler/local-agent-framework/agent"
) )
type ConnectorConfig struct {
Type string `json:"type"` // e.g. Slack
Config map[string]interface{} `json:"config"`
}
type ActionsConfig string
type AgentConfig struct { type AgentConfig struct {
Connector []ConnectorConfig `json:"connector"`
Actions []ActionsConfig `json:"actions"`
} }
type AgentPool struct { type AgentPool struct {