committed by
mudler
parent
4b727116cd
commit
e9cd6a1073
@@ -67,11 +67,12 @@ type AgentConfig struct {
|
||||
}
|
||||
|
||||
type AgentConfigMeta struct {
|
||||
Fields []config.Field
|
||||
Connectors []config.FieldGroup
|
||||
Actions []config.FieldGroup
|
||||
DynamicPrompts []config.FieldGroup
|
||||
MCPServers []config.Field
|
||||
Fields []config.Field
|
||||
Connectors []config.FieldGroup
|
||||
Actions []config.FieldGroup
|
||||
DynamicPrompts []config.FieldGroup
|
||||
MCPServers []config.Field
|
||||
MCPSTDIOServers []config.Field
|
||||
}
|
||||
|
||||
func NewAgentConfigMeta(
|
||||
@@ -288,6 +289,28 @@ func NewAgentConfigMeta(
|
||||
Required: true,
|
||||
},
|
||||
},
|
||||
MCPSTDIOServers: []config.Field{
|
||||
{
|
||||
Name: "cmd",
|
||||
Label: "Command",
|
||||
Type: config.FieldTypeText,
|
||||
Required: true,
|
||||
},
|
||||
{
|
||||
Name: "args",
|
||||
Label: "Arguments",
|
||||
Type: config.FieldTypeText,
|
||||
Required: true,
|
||||
HelpText: "Comma-separated list of arguments",
|
||||
},
|
||||
{
|
||||
Name: "env",
|
||||
Label: "Environment Variables",
|
||||
Type: config.FieldTypeText,
|
||||
Required: true,
|
||||
HelpText: "Comma-separated list of environment variables in KEY=VALUE format",
|
||||
},
|
||||
},
|
||||
DynamicPrompts: dynamicPromptsConfig,
|
||||
Connectors: connectorsConfig,
|
||||
Actions: actionsConfig,
|
||||
|
||||
Reference in New Issue
Block a user