Struct BudgetDecision

Assembly: redb.Route.Llm.dll

Outcome of a budget enforcement decision.

public readonly record struct BudgetDecision : IEquatable<BudgetDecision>

Implements

Properties

Continue

public bool Continue { get; init; }

Reason

public string? Reason { get; init; }

Methods

Stop(string)

Stops the agent run with a human-readable reason.

public static BudgetDecision Stop(string reason)

Constructors

BudgetDecision(bool, string?)

Outcome of a budget enforcement decision.