semblance_backup/backend/app/routes
michael 9927c4509a Add model alias for legacy gpt-5 database entries
Focus groups created before the gpt-5.2 rename have llm_model='gpt-5'
stored in MongoDB. Without an alias, the backend falls through to the
Gemini provider and fails with an aiohttp AssertionError.

Adds MODEL_ALIASES mapping and _resolve_model() helper so gpt-5 is
transparently resolved to gpt-5.2. Also updates all llm_model checks
to accept both values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:06:10 -06:00
..
ai_personas.py Fix audience_brief and research_objective dropped in Stage 2 persona generation 2026-02-11 08:40:17 -06:00
auth.py changed permissions 2025-12-19 19:26:16 +00:00
focus_group_ai.py Add model alias for legacy gpt-5 database entries 2026-02-11 12:06:10 -06:00
focus_groups.py changed permissions 2025-12-19 19:26:16 +00:00
folders.py changed permissions 2025-12-19 19:26:16 +00:00
personas.py changed permissions 2025-12-19 19:26:16 +00:00
tasks.py changed permissions 2025-12-19 19:26:16 +00:00