Method WithRouterAgent
- Namespace
- LMKit.Agents.Orchestration
- Assembly
- LM-Kit.NET.dll
WithRouterAgent(Agent)
Sets an agent-based router that decides which route to take.
The router agent should output the name of the route to use.
public RouterOrchestrator WithRouterAgent(Agent routerAgent)
Parameters
routerAgentAgentThe agent that performs routing decisions.
Returns
- RouterOrchestrator
This orchestrator for method chaining.