diff --git a/example/webui/agentpool.go b/example/webui/agentpool.go index b0ecb73..17aec71 100644 --- a/example/webui/agentpool.go +++ b/example/webui/agentpool.go @@ -8,7 +8,16 @@ import ( . "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 { + Connector []ConnectorConfig `json:"connector"` + Actions []ActionsConfig `json:"actions"` } type AgentPool struct {