Constructor DelegateTool
- Namespace
- LMKit.Agents.Delegation
- Assembly
- LM-Kit.NET.dll
DelegateTool(AgentRegistry, Agent)
Initializes a new instance of the DelegateTool class.
public DelegateTool(AgentRegistry registry, Agent sourceAgent = null)
Parameters
registryAgentRegistryThe registry containing available delegate agents.
sourceAgentAgentThe agent that owns this tool (for context passing).
Exceptions
- ArgumentNullException
Thrown when
registryis null.