MissionBudget class

Per-mission budget across four dimensions (FR-005).

Constructors

MissionBudget({int? maxCalls, Duration? maxWallClock, int? maxTokens, Map<String, Duration> perToolClassMax = const <String, Duration>{}})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxCalls → int?
Maximum number of tool calls. Null = unlimited.
final
maxTokens → int?
Maximum cumulative token usage across all model interactions. Null = unlimited.
final
maxWallClock → Duration?
Maximum wall-clock duration. Null = unlimited.
final
perToolClassMax → Map<String, Duration>
Maximum cumulative duration per tool class. Empty = unlimited.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaults → const MissionBudget
Sane framework defaults (used when the mission object omits budgets).
unlimited → const MissionBudget