diff --git a/example/webui/agentpool.go b/example/webui/agentpool.go index 687bf1d..a4da8ff 100644 --- a/example/webui/agentpool.go +++ b/example/webui/agentpool.go @@ -35,6 +35,7 @@ type AgentConfig struct { RandomIdentity bool `json:"random_identity" form:"random_identity"` IdentityGuidance string `json:"identity_guidance" form:"identity_guidance"` PeriodicRuns string `json:"periodic_runs" form:"periodic_runs"` + PermanentGoal string `json:"permanent_goal" form:"permanent_goal"` } type AgentPool struct { @@ -205,6 +206,7 @@ func (a *AgentPool) startAgentWithConfig(name string, config *AgentConfig) error WithModel(model), WithLLMAPIURL(a.apiURL), WithPeriodicRuns(config.PeriodicRuns), + WithPermanentGoal(config.PermanentGoal), WithActions( actions..., ), diff --git a/example/webui/create.html b/example/webui/create.html index 7caad7b..557a207 100644 --- a/example/webui/create.html +++ b/example/webui/create.html @@ -9,13 +9,14 @@ -
-

Create New Agent

-
+
+

Create New Agent

+ + -
- - +
+ +
@@ -34,7 +35,7 @@ const newConnectorHTML = `
- +
- - + +
`; @@ -64,15 +65,15 @@ const newConnectorHTML = `
- +
- - + +
`; @@ -83,29 +84,33 @@
- - + +
- -
- - + + + + + + + +
- - -
-
- +
- +
+
+ + +