Skip to content

StageTermination.BudgetPressure

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination

StageTermination.BudgetPressure Class

The token budget tracker reported usage above the configured budget pressure threshold, and the loop ran one final finalization iteration before terminating.

public sealed record StageTermination.BudgetPressure : NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination, System.IEquatable<NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination.BudgetPressure>

Inheritance System.Object 🡒 StageTermination 🡒 BudgetPressure

Implements System.IEquatable<BudgetPressure>

Constructors

BudgetPressure(Nullable<double>) Constructor

The token budget tracker reported usage above the configured budget pressure threshold, and the loop ran one final finalization iteration before terminating.

public BudgetPressure(System.Nullable<double> Threshold);

Parameters

Threshold System.Nullable<System.Double>

The configured budget pressure threshold (0.0–1.0), or null if no threshold was configured but pressure was reported through other means.

Properties

StageTermination.BudgetPressure.Threshold Property

The configured budget pressure threshold (0.0–1.0), or null if no threshold was configured but pressure was reported through other means.

public System.Nullable<double> Threshold { get; init; }

Property Value

System.Nullable<System.Double>