Table of Contents

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

agentName string

The name of the agent that executed the task.

response string

The response from the delegate.

request DelegationRequest

The original request.

executionResult AgentExecutionResult

The full execution result.

duration TimeSpan

The execution duration.

Returns

DelegationResult

A successful delegation result.