Expand description
Cost and token budget enforcement.
Tracks spending against configurable limits and determines whether the agent should continue or stop.
Structs§
- Budget
Config - Configuration for budget limits.
Enums§
- Budget
Decision - Budget check result.
Functions§
- check_
budget - Check whether the current spend is within budget.
- should_
continue_ turn - Continuation check for token budget during multi-turn execution.