Method Succeeded
- Namespace
- LMKit.Agents.Delegation
- Assembly
- LM-Kit.NET.dll
Succeeded(string, string, DelegationRequest, AgentExecutionResult, TimeSpan)
Creates a successful delegation result.
public static DelegationResult Succeeded(string agentName, string response, DelegationRequest request, AgentExecutionResult executionResult = null, TimeSpan duration = default)
Parameters
agentNamestringThe name of the agent that executed the task.
responsestringThe response from the delegate.
requestDelegationRequestThe original request.
executionResultAgentExecutionResultThe full execution result.
durationTimeSpanThe execution duration.
Returns
- DelegationResult
A successful delegation result.