Skip to content

fix: show AI budget notification in user settings and clarify its text#27397

Merged
evgeniy-scherbina merged 3 commits into
yevhenii/cost-control-notificationsfrom
yevhenii/cc-ntfns-follow-up
Jul 21, 2026
Merged

fix: show AI budget notification in user settings and clarify its text#27397
evgeniy-scherbina merged 3 commits into
yevhenii/cost-control-notificationsfrom
yevhenii/cc-ntfns-follow-up

Conversation

@evgeniy-scherbina

Copy link
Copy Markdown
Contributor

No description provided.

@evgeniy-scherbina
evgeniy-scherbina force-pushed the yevhenii/cc-ntfns-follow-up branch from 1703d17 to 9dba2c4 Compare July 21, 2026 20:06
@evgeniy-scherbina
evgeniy-scherbina marked this pull request as ready for review July 21, 2026 20:28
@evgeniy-scherbina
evgeniy-scherbina merged commit 90ab015 into yevhenii/cost-control-notifications Jul 21, 2026
32 of 33 checks passed
@evgeniy-scherbina
evgeniy-scherbina deleted the yevhenii/cc-ntfns-follow-up branch July 21, 2026 20:28
@coder-tasks

coder-tasks Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

This PR adds a user-facing AI Budget Limit Reached notification (100% threshold), lowers the warning threshold from 90% to 85%, rewrites the notification body text, and makes the AI Budget notification group visible in user settings. These are user-facing behaviors, but the docs don't cover budget notifications.

Updates Needed

  • docs/ai-coder/agents/platform-controls/usage-insights.md - The Spend Management page documents limit enforcement (409 blocking) but not the notifications users receive. Document that users are notified when their spend crosses the warning threshold (85%) and when they reach the limit (100%, after which requests are blocked).

New Documentation Needed

  • docs/admin/monitoring/notifications/index.md - The notification events list has no AI Budget section, even though this PR adds a new user-facing notification template (AI Budget Limit Reached) and surfaces the AI Budget group in the notification settings UI. Add an "AI Budget Events" entry covering the warning and limit-reached notifications sent to affected users.

Automated review via Coder Agents

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.

1 participant