video-accessibility/backend/app
Vadym Samoilenko 56a3a62368 feat(gemini): add model fallback chain on 429 quota errors
Routes all generate_content calls through _generate() which retries
gemini-3.1-flash-preview then gemini-2.5-pro when primary model hits
RESOURCE_EXHAUSTED. Cost tracker records actual model used.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 12:02:59 +01:00
..
api/v1 fix(translation): approve_source triggers translation for any role 2026-05-06 12:13:39 +01:00
core feat(pause-insert): adaptive buffer, forward-snap, timeline drag + share link fix 2026-05-01 16:09:09 +01:00
lib fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
middleware fix(middleware): add word boundaries to injection patterns; default role to admin 2026-05-06 09:45:28 +01:00
migrations fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
models fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
prompts fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
schemas feat(translation): enforce EN-first pipeline with cue-preserving translations 2026-05-06 12:11:35 +01:00
services feat(gemini): add model fallback chain on 429 quota errors 2026-05-08 12:02:59 +01:00
tasks fix(tts): scope retranslation TTS to target language only 2026-05-07 16:57:20 +01:00
telemetry chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
main.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00