Method RecordAndCheckAsync(string?, AgentBudget, AgentUsage, AgentUsage, CancellationToken)

Assembly: redb.Route.Llm.dll

Records usage produced by the iteration and returns a decision whether the agent may
continue. The engine passes per-iteration and running totals; accumulating them on an
is up to the implementation — see
, the one shipped enforcer that does.

public ValueTask<BudgetDecision> RecordAndCheckAsync(string? conversationId, AgentBudget budget, AgentUsage iterationUsage, AgentUsage totalUsage, CancellationToken ct = default)