BudgetThresholds
autogen.beta.eval.results.budgets.BudgetThresholds dataclass #
Per-task budget thresholds.
Budgets are observational in v0 — the runner records violations in RunResult.aggregates.budget_violations but never aborts a task that exceeds them. The count is intended as a regression signal in CI ("zero tasks may go over budget"), not as a kill switch.
A field set to None (the default) means "no limit".
| PARAMETER | DESCRIPTION |
|---|---|
max_tokens_per_task | Maximum sum of input + output tokens across every model call in one task. TYPE: |
max_seconds_per_task | Maximum wall-clock duration of one task, measured around TYPE: |
exceeded_by #
True iff trace exceeds any set threshold (tokens or wall-clock).