Class NoopBudgetEnforcer
Default no-op budget enforcer — always allows execution.
public sealed class NoopBudgetEnforcer : IBudgetEnforcer
Inheritance
Implements
Methods
PreCheckAsync(string?, AgentBudget, AgentUsage, CancellationToken)
Checks whether the agent run is allowed to continue at the start of an
public ValueTask<BudgetDecision> PreCheckAsync(string? conversationId, AgentBudget budget, AgentUsage usageSoFar, CancellationToken ct = default)
RecordAndCheckAsync(string?, AgentBudget, AgentUsage, AgentUsage, CancellationToken)
Records usage produced by the iteration and returns a decision whether the agent may
public ValueTask<BudgetDecision> RecordAndCheckAsync(string? conversationId, AgentBudget budget, AgentUsage iterationUsage, AgentUsage totalUsage, CancellationToken ct = default)