Table of Contents

Method Stopped

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

Stopped(AgentRunState, IReadOnlyList<AgentExecutionResult>, TimeSpan, int)

Creates the result of an orchestration that stopped at an agent run waiting for a decision.

public static OrchestrationResult Stopped(AgentRunState runState, IReadOnlyList<AgentExecutionResult> agentResults, TimeSpan duration, int totalInferenceCount = 0)

Parameters

runState AgentRunState

The stopped run's state, its node path set.

agentResults IReadOnlyList<AgentExecutionResult>

The agents' results so far.

duration TimeSpan

How long the orchestration ran.

totalInferenceCount int

The model calls made.

Returns

OrchestrationResult

The result.

Share