Skip to content

setup: show per-user spend threshold when picking budget tiers - #328

Merged
AarushiShah-db merged 2 commits into
mainfrom
budget-threshold-display
Aug 14, 2026
Merged

setup: show per-user spend threshold when picking budget tiers#328
AarushiShah-db merged 2 commits into
mainfrom
budget-threshold-display

Conversation

@AarushiShah-db

@AarushiShah-db AarushiShah-db commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Tiers are picked as percentages of a budget's per-user cap, but the cap was never shown, so a percentage was a number in a vacuum. Extract the per-user hard block's quantity_threshold in list_workspace_budgets and, in the tier prompt, show the monthly cap plus what each percentage works out to in dollars. Falls back to prompting in percent when the threshold can't be read.

Screenshot 2026-08-13 at 12 26 08 PM

Co-authored-by: Isaac

Tiers are picked as percentages of a budget's per-user cap, but the cap
was never shown, so a percentage was a number in a vacuum. Extract the
per-user hard block's quantity_threshold in list_workspace_budgets and,
in the tier prompt, show the monthly cap plus what each percentage works
out to in dollars. Falls back to prompting in percent when the threshold
can't be read.

Co-authored-by: Isaac
@AarushiShah-db
AarushiShah-db enabled auto-merge (squash) August 14, 2026 16:19
@AarushiShah-db
AarushiShah-db merged commit e7df826 into main Aug 14, 2026
2 checks passed
@AarushiShah-db
AarushiShah-db deleted the budget-threshold-display branch August 14, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants