Table of Contents

Class OrchestrationResult

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

Represents the result of an orchestrated multi-agent execution.

public sealed class OrchestrationResult
Inheritance
OrchestrationResult
Inherited Members

Properties

AgentResults

Gets the individual results from each agent that participated.

Content

Gets the final output content from the orchestration.

Duration

Gets the total duration of the orchestration.

Error

Gets the error message if the orchestration failed.

Exception

Gets the exception that caused failure, if any.

Metadata

Gets metadata about the orchestration execution.

Success

Gets a value indicating whether the orchestration completed successfully.

TotalInferenceCount

Gets the total number of inference calls across all agents.

Methods

Cancelled(IReadOnlyList<AgentExecutionResult>, TimeSpan, int)

Creates a cancelled orchestration result.

Failed(string, Exception, IReadOnlyList<AgentExecutionResult>, TimeSpan, int)

Creates a failed orchestration result.

Succeeded(string, IReadOnlyList<AgentExecutionResult>, TimeSpan, int, IReadOnlyDictionary<string, object>)

Creates a successful orchestration result.