Method AddWorker
- Namespace
- LMKit.Agents.Orchestration
- Assembly
- LM-Kit.NET.dll
AddWorker(Agent)
Adds a worker agent.
public SupervisorOrchestrator AddWorker(Agent worker)
Parameters
workerAgentThe worker agent to add.
Returns
- SupervisorOrchestrator
This orchestrator for method chaining.
AddWorker(string, Agent)
Adds a named worker agent.
public SupervisorOrchestrator AddWorker(string name, Agent worker)
Parameters
Returns
- SupervisorOrchestrator
This orchestrator for method chaining.