discourse-ai/assets/javascripts/discourse/lib
Sam d07cf51653
FEATURE: llm quotas (#1047)
Adds a comprehensive quota management system for LLM models that allows:

- Setting per-group (applied per user in the group) token and usage limits with configurable durations
- Tracking and enforcing token/usage limits across user groups
- Quota reset periods (hourly, daily, weekly, or custom)
-  Admin UI for managing quotas with real-time updates

This system provides granular control over LLM API usage by allowing admins
to define limits on both total tokens and number of requests per group.
Supports multiple concurrent quotas per model and automatically handles
quota resets.


Co-authored-by: Keegan George <kgeorge13@gmail.com>
2025-01-14 15:54:09 +11:00
..
ai-streamer DEV: Handle streaming animation within `AiSummaryBox` (#901) 2024-11-07 08:08:32 -08:00
ai-bot-helper.js FEATURE: llm quotas (#1047) 2025-01-14 15:54:09 +11:00
ai-helper-suggestions.js REFACTOR: Helper suggestions (#914) 2024-11-27 12:21:03 -08:00
ai-topic-summary.js DEV: Add summarization logic from core (#658) 2024-07-02 08:51:59 -07:00
copy-conversation.js FEATURE: llm quotas (#1047) 2025-01-14 15:54:09 +11:00
show-ai-helper.js DEV: Move composer AI helper to toolbar (#796) 2024-09-13 11:59:30 -07:00
utilities.js DEV: `IMAGE_MARKDOWN_REGEX` import available in core (#847) 2024-10-21 14:48:10 -07:00
virtual-element-from-caret-coords.js REFACTOR: AI Composer Helper Menu (#715) 2024-08-06 10:57:39 -07:00