AxLlmQueryBudgetState
type AxLlmQueryBudgetState = object;Budget state for llmQuery calls. Uses a shared global object for cross-tree tracking plus per-agent local counters to prevent any single child from starving siblings.
Properties
global
global: object;Global usage counter shared across all descendants (by reference).
used
used: number;globalMax
globalMax: number;Global maximum across the entire agent tree.
localMax
localMax: number;Per-agent maximum.
localUsed
localUsed: number;Local usage counter for this specific agent.