MCPcopy Create free account
hub / github.com/astercloud/aster / Create

Method Create

pkg/agent/subagent_factory.go:24–26  ·  view source on GitHub ↗

Create 创建指定类型的子 Agent 执行器

(agentType string)

Source from the content-addressed store, hash-verified

22
23// Create 创建指定类型的子 Agent 执行器
24func (f *SubAgentManagerFactory) Create(agentType string) (types.SubAgentExecutor, error) {
25 return NewSubAgentExecutor(f.manager, agentType)
26}
27
28// ListTypes 列出支持的子 Agent 类型
29func (f *SubAgentManagerFactory) ListTypes() []string {

Callers 1

Calls 1

NewSubAgentExecutorFunction · 0.85

Tested by 1