semblance_backup/backend/app
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
..
auth changed permissions 2025-12-19 19:26:16 +00:00
models Remove __pycache__ files from git tracking 2025-12-19 13:28:19 -06:00
routes Add model alias for legacy gpt-5 database entries 2026-02-11 12:06:10 -06:00
services Add model alias for legacy gpt-5 database entries 2026-02-11 12:06:10 -06:00
utils Remove __pycache__ files from git tracking 2025-12-19 13:28:19 -06:00
.DS_Store changed permissions 2025-12-19 19:26:16 +00:00
__init__.py changed permissions 2025-12-19 19:26:16 +00:00
db.py changed permissions 2025-12-19 19:26:16 +00:00
extensions.py changed permissions 2025-12-19 19:26:16 +00:00
utils.py changed permissions 2025-12-19 19:26:16 +00:00
websocket_debug_tap.py changed permissions 2025-12-19 19:26:16 +00:00
websocket_manager.py changed permissions 2025-12-19 19:26:16 +00:00
websocket_manager_async.py changed permissions 2025-12-19 19:26:16 +00:00