cohorta/backend/app/models
Vadym Samoilenko 8109fe3768 fix(backend): 4 fixes — await add_message, MODEL_ALIASES, language rule, PDF + silent participants
- focus_group_ai.py: add missing `await` on all FocusGroup.add_message() calls
  (was storing coroutine as task result → JSON serialization 500 error)
- model_pricing.py: remove broken MODEL_ALIASES import from llm_service
  (was ImportError on every LLM usage cost tracking call)
- focus-group-response.md: language detection now based on last AI Moderator
  message in conversation, not abstract topic field (fixes mixed-language responses)
- conversation_context_service.py: analytics now shows per-participant message
  counts, explicit ⚠️ SILENT PARTICIPANTS and DOMINANT SPEAKERS warnings so
  decision engine correctly engages quiet members and asks probing questions
- focus_groups.py PDF report: add full transcript section (new page), fix bar
  chart to cap width within page bounds, add page number footers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 20:46:39 +01:00
..
app_settings.py feat(ai-config): wire admin UI to LLM service — endpoint/key/model from DB 2026-05-25 13:10:40 +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 fix(backend): 4 fixes — await add_message, MODEL_ALIASES, language rule, PDF + silent participants 2026-05-25 20:46:39 +01:00
persona.py feat(marketplace): persona marketplace — admin publish + user purchase 2026-05-25 17:49:43 +01: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