Method ExecuteAgentAsync
- Namespace
- LMKit.Agents.Orchestration
- Assembly
- LM-Kit.NET.dll
ExecuteAgentAsync(Agent, string, OrchestrationContext, OrchestrationOptions, CancellationToken)
Executes a single agent with event notifications.
protected Task<AgentExecutionResult> ExecuteAgentAsync(Agent agent, string input, OrchestrationContext context, OrchestrationOptions options, CancellationToken cancellationToken)
Parameters
agentAgentinputstringcontextOrchestrationContextoptionsOrchestrationOptionscancellationTokenCancellationToken