discourse-ai/assets/javascripts/initializers
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
..
admin-plugin-configuration-nav.js FEATURE: Add AI-powered spam detection for new user posts (#1004) 2024-12-12 09:17:25 +11:00
ai-artifacts.gjs FEATURE: allow artifacts to be updated (#980) 2024-12-03 07:23:31 +11:00
ai-bot-replies.js DEV: Update linting (#933) 2024-11-20 15:43:28 +01:00
ai-chat-summarization.js FEATURE: move summary to use llm_model (#699) 2024-07-04 10:48:18 +10:00
ai-helper.js UX: Improve toast message location (#800) 2024-09-14 09:19:13 +10:00
ai-image-caption.js FEATURE: llm quotas (#1047) 2025-01-14 15:54:09 +11:00
ai-semantic-search.js FIX: results not being reset when appending to query param (#912) 2024-11-13 07:19:34 -08:00
related-topics.gjs FIX: Keep related topics data cached when a user scrolls up (#976) 2024-11-28 14:25:15 -03:00