MagenticWorkflowBuilder.WithMaxStalls(Int32) Method

Definition

Set the maximum number of consecutive rounds without progress before replan (default 3).

public Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder WithMaxStalls(int maxStalls = 3);
member this.WithMaxStalls : int -> Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder
Public Function WithMaxStalls (Optional maxStalls As Integer = 3) As MagenticWorkflowBuilder

Parameters

maxStalls
Int32

Returns

Applies to