Table of Contents

Method ExecuteAsync

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

ExecuteAsync(string, AgentExecutionOptions, CancellationToken)

Executes with the configured agents.

public Task<AgentExecutionResult> ExecuteAsync(string input, AgentExecutionOptions options = null, CancellationToken cancellationToken = default)

Parameters

input string

The input prompt.

options AgentExecutionOptions

Optional execution options.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<AgentExecutionResult>

The execution result from the first successful agent.