Interface: SpendLimitInfo
Defined in: packages/agentos/src/api/runtime/spendBudget.ts:17
What a budget was about to refuse, for an onLimitReached callback.
Properties
budgetId
budgetId:
string
Defined in: packages/agentos/src/api/runtime/spendBudget.ts:19
The budget's id.
capType
capType:
"unpriced"|CostCapType|"tokens"
Defined in: packages/agentos/src/api/runtime/spendBudget.ts:21
Which cap: the guard's session, daily or single-call cap, the token budget, or a model with no price row.
reason
reason:
string
Defined in: packages/agentos/src/api/runtime/spendBudget.ts:25
Why, in one sentence.
what
what:
string
Defined in: packages/agentos/src/api/runtime/spendBudget.ts:23
What the call was: generate_text.step, stream_text, embed_text and the like.