Table of Contents

Method Failed

Namespace
LMKit.Agents.Delegation
Assembly
LM-Kit.NET.dll

Failed(string, string, DelegationRequest, TimeSpan)

Creates a failed delegation result.

public static DelegationResult Failed(string agentName, string error, DelegationRequest request, TimeSpan duration = default)

Parameters

agentName string

The name of the agent that was targeted.

error string

The error message.

request DelegationRequest

The original request.

duration TimeSpan

The duration before failure.

Returns

DelegationResult

A failed delegation result.