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