Skip to content

feat(config-ui): quotas table in AI credits, model selection moved last - #71

Merged
albanm merged 3 commits into
mainfrom
feat-improv-ui
Sep 29, 2026
Merged

albanm merged 3 commits into
mainfrom
feat-improv-ui

Conversation

@albanm

@albanm albanm commented Sep 29, 2026

Copy link
Copy Markdown
Member

Rework the org admin configuration section, ahead of the first production release with a single model per role.

  • Quotas as a table (QuotasTable.vue, replacing the generated vjsf quotas form): one row per user profile with an unlimited toggle, the monthly limit in AI credits, and the derived weekly/daily limits. The account's global credit allowance is shown above the table and as a / <limit> suffix in each input.
  • Tabs reordered to Quotas → Moderation and traces → Model per role (Quotas opens first). The "leave roles empty, the defaults are recommended" hint is now a tutorial alert with stronger wording.

Why: make quotas readable in the unit they are billed in, keep the global allowance in sight while splitting it, and steer org admins towards the default models.

Heads-up:

  • The quotas table emits the full quotas object itself (the hidden contrib/user rows of a personal account are carried over untouched); the org PUT still validates the whole body server side.
  • Per-profile limits are not validated against the global allowance: the "cannot exceed it" wording reflects enforcement order (the account cap is checked first), not a form constraint.

albanm and others added 3 commits September 28, 2026 17:26
… prod config

- Quotas are edited in a table (per profile: unlimited, monthly limit in AI
  credits, derived weekly/daily), replacing the generated vjsf form. The
  account's global credit allowance is shown above it and next to each input.
- Tabs reordered to quotas / moderation / models; the "prefer the default
  models" hint is a tutorial alert.
- docs/deployment/production-greenpt.md: production global AI config, GreenPT
  through LiteLLM, one model per role.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… manifests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@albanm
albanm merged commit c77f5f8 into main Sep 29, 2026
4 checks passed
@albanm
albanm deleted the feat-improv-ui branch September 29, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant