cohorta/backend/app/models
Vadym Samoilenko d05480610d feat(admin): AI model catalog — provider config, model routing, test connection
- app_settings.py: add ai_providers[], active_provider, active_main/mini_model to DEFAULTS
- admin.py: GET/PUT /api/admin/ai-config (API key masked on read, preserved if not updated)
           POST /api/admin/ai-config/test (latency + connection check)
- AIConfigTab.tsx: provider dropdown, endpoint/key fields, models table with role+enabled toggles,
                   main/mini routing selects, "Test connection" with live latency feedback
- Admin.tsx: add "AI Config" tab

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 14:32:23 +01:00
..
app_settings.py feat(admin): AI model catalog — provider config, model routing, test connection 2026-05-24 14:32:23 +01:00
credit_transaction.py Rebrand to Cohorta + full UI redesign + registration with email verification 2026-05-23 18:40:08 +01:00
focus_group.py feat: commit all app changes — billing API, new auth, design overhaul 2026-05-23 19:04:43 +01:00
folder.py Apply Jintech security audit remediation (sprint 3) — 87/92 findings fixed 2026-03-20 12:51:18 +00:00
model_pricing.py Add LLM usage tracking infrastructure (Phases A-C) 2026-04-24 18:08:27 +01:00
persona.py Apply Jintech security audit remediation (sprint 3) — 87/92 findings fixed 2026-03-20 12:51:18 +00:00
quota.py Add LLM usage tracking infrastructure (Phases A-C) 2026-04-24 18:08:27 +01:00
usage_event.py Add LLM usage tracking infrastructure (Phases A-C) 2026-04-24 18:08:27 +01:00
user.py fix: import datetime class in User.save() — NameError blocked all registration 2026-05-23 22:47:13 +01:00