nxtgauge-backend-rust/apps
Tracewebstudio Dev 42a9a17133 Add Redis caching for AI generation rate limiting
- Add cache::ai module with Redis rate limiting for AI generations
- Add functions: check_ai_rate_limit, get_ai_usage, cache_ai_response,
  get_cached_ai_response, invalidate_ai_cache, reset_daily_usage
- Update check_and_increment_usage to use Redis fast-path before DB
- Redis key pattern: ai:rate:{user_id} for 24hr sliding window counter
2026-05-01 03:02:46 +02:00
..
catering_services feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
companies feat: update DB schema - split users.first_name, users.last_name, roles split 2026-04-15 06:23:27 +02:00
cron feat: update DB schema - split users.first_name, users.last_name, roles split 2026-04-15 06:23:27 +02:00
customers fix(pricing): support roleKey alias and leads schema 2026-04-29 09:59:41 +02:00
developers feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
employees chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
fitness_trainers feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
gateway Add AI endpoints and gateway route fix 2026-05-01 02:54:42 +02:00
graphic_designers feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
job_seekers fix: suppress dead_code warnings with #[allow(dead_code)] 2026-04-18 18:30:56 +02:00
jobs fix: migrate route params to Axum 0.7+ syntax ({id} instead of :id) 2026-04-13 16:04:55 +02:00
leads Add AI endpoints and gateway route fix 2026-05-01 02:54:42 +02:00
makeup_artists feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
payments fix: suppress dead_code warnings with #[allow(dead_code)] 2026-04-18 18:30:56 +02:00
photographers feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
social_media_managers feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
tutors feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
ugc_content_creators feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00
users Add Redis caching for AI generation rate limiting 2026-05-01 03:02:46 +02:00
video_editors feat(db): update service handlers and models for new schema 2026-04-13 00:29:44 +02:00