Files
member-portal/app
inference-bot 18a4447aa2
ci/woodpecker/push/woodpecker Pipeline was canceled
usage: handle an uncapped team in /broker/usage
An operator account has team max_budget NULL (no cap). broker_get_usage only
assigned balance when max_budget was not None, so the DB path left 'balance'
unbound and the HTTP fallback read the same name before assignment — a 500 for
exactly the accounts the uncapped policy created. Initialise balance from the
member's allowance + credits still available, mark the response uncapped when
the team row has no cap, and keep the dashboard arithmetic defined.
2026-11-27 21:58:34 +00:00
..