Class OrchestrationOptions
- Namespace
- LMKit.Agents.Orchestration
- Assembly
- LM-Kit.NET.dll
Configuration options for orchestration execution.
public sealed class OrchestrationOptions
- Inheritance
-
OrchestrationOptions
- Inherited Members
Properties
- AgentTimeout
Gets or sets the timeout for each individual agent execution.
Set to
nullto use each agent's default timeout.
- Default
Gets the default options.
- EnableTracing
Gets or sets a value indicating whether to include execution traces.
When
true, detailed trace information is collected for debugging. Default isfalse.
- InitialState
Gets or sets initial state values for the orchestration context.
- MaxSteps
Gets or sets the maximum number of orchestration steps.
Limits the total number of agent invocations to prevent infinite loops. Default is 10.
- StopOnFailure
Gets or sets a value indicating whether to stop on first agent failure.
When
true, the orchestration stops immediately if any agent fails. Whenfalse, failures are recorded but execution may continue. Default istrue.
- StreamHandler
Gets or sets the stream handler for real-time token output.
When set, tokens are streamed in real-time as each agent generates output, enabling responsive UI updates during multi-agent orchestrations.
- StreamToolCalls
Gets or sets a value indicating whether to stream tool calls.
When
trueand StreamHandler is set, tool invocations are streamed as tokens. Default istrue.
- Timeout
Gets or sets the timeout for the entire orchestration.
Set to
nullfor no timeout. Default is no timeout.
Methods
- Clone()
Creates a copy of these options.