AgentPrismWorkflowOptions
AgentPrism.Workflows.dllSettings that control workflow execution.
public sealed class AgentPrismWorkflowOptionsInheritance
Section titled “Inheritance”object ← AgentPrismWorkflowOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”AgentPrismWorkflowOptions()
Section titled “ AgentPrismWorkflowOptions()”public AgentPrismWorkflowOptions()Fields
Section titled “Fields”SectionName
Section titled “ SectionName”The name of the configuration section.
public const string SectionName = "AgentPrism:Workflows"Field Value
Section titled “Field Value”Properties
Section titled “Properties”EnableCheckpointing
Section titled “ EnableCheckpointing”Gets or sets whether checkpoint writing is enabled.
public bool EnableCheckpointing { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default is true: resuming works out of the box. The cost is one write per super-step; AgentPrismWorkflowOptions.MaxSuperSteps and the retention limit of the in-memory store keep this in check.
Enabled
Section titled “ Enabled”Gets or sets whether workflow execution is enabled.
public bool Enabled { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”When disabled, the catalog is still listed; only execution is refused. This lets execution be stopped during an incident without deleting the definitions.
KeepCheckpointsAfterCompletion
Section titled “ KeepCheckpointsAfterCompletion”Gets or sets whether the checkpoints of a completed run are kept.
public bool KeepCheckpointsAfterCompletion { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default is true: being resumable even after a workflow has finished is the whole point of this feature. Setups that want to avoid the storage cost can disable it; checkpoints then live only while the run is in progress.
MaxConcurrentRuns
Section titled “ MaxConcurrentRuns”Gets or sets the maximum number of workflows that may run at the same time.
public int MaxConcurrentRuns { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The limit is shared across all tenants. A single workflow makes dozens of model calls; leaving it unbounded would let one user consume an entire provider quota.
MaxSuperSteps
Section titled “ MaxSuperSteps”Gets or sets the maximum number of super-steps a single run may process.
public int MaxSuperSteps { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This is the only structural guard against an infinite loop. In the Handoff and GroupChat patterns the model decides when to hand off; a poorly written instruction can make two agents hand off to each other forever.
RunTimeout
Section titled “ RunTimeout”Gets or sets the maximum duration of a single workflow run.
public TimeSpan RunTimeout { get; set; }