From 23867bf0e6f4446e6ccd8ef9103b6dae6fea053c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sun, 7 Apr 2024 00:22:17 +0200 Subject: [PATCH] fixups --- example/webui/agentpool.go | 9 +++++++++ 1 file changed, 9 insertions(+) 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 {