StageTermination.StallDetected
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination¶
StageTermination.StallDetected Class¶
The loop detected that consecutive iterations produced nearly identical token usage, indicating the LLM is repeating the same work without making progress.
public sealed record StageTermination.StallDetected : NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination, System.IEquatable<NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination.StallDetected>
Inheritance System.Object 🡒 StageTermination 🡒 StallDetected
Implements System.IEquatable<StallDetected>
Constructors¶
StallDetected(Nullable<int>) Constructor¶
The loop detected that consecutive iterations produced nearly identical token usage, indicating the LLM is repeating the same work without making progress.
Parameters¶
ConsecutiveThreshold System.Nullable<System.Int32>
The number of consecutive stalled iterations the loop required before terminating, or null if the configuration was not snapshot at termination time.
Properties¶
StageTermination.StallDetected.ConsecutiveThreshold Property¶
The number of consecutive stalled iterations the loop required before terminating, or null if the configuration was not snapshot at termination time.