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
runStateAgentRunStateThe stopped run's state, its node path set.
agentResultsIReadOnlyList<AgentExecutionResult>The agents' results so far.
durationTimeSpanHow long the orchestration ran.
totalInferenceCountintThe model calls made.
Returns
- OrchestrationResult
The result.