iblai-vibe-agent-billing
/iblai-vibe-agent-billing
Add the agent Billing tab (AgentSpendCapsTab) -- LLM spend limits for
this agent and for specific users of it, with how much has been used.
Scope: per agent. Two sub-tabs match the agent-level scopes: This
Agent (one limit for everything spent on the agent) and Per User
(a limit per user on this agent). The organization-wide limit lives in
organization settings (/iblai-vibe-billing). The tightest limit that
applies wins. This is one tab in the agent-settings family indexed by
/iblai-vibe-agent; it shares the AgentSettingsProvider wrapper with every
other tab.
This Agent -- the switch (on means the limit counts and is enforced),
a usage strip once a limit is saved (Spent, % of limit used, Remaining; the
bar turns amber at 80% and red when exceeded), and the form: Spend Limit
(USD), Resets Every (Day / Week / Month / Year), When the Limit Is
Reached (Block Requests or Alert Only), Alert At (% of Limit)
(comma-separated, default 80, 95), Delete Limit and Save. Before the
first save it says "No spend limit configured yet".