video-accessibility/backend/app/tasks
Vadym Samoilenko f38325b461 fix(tts): scope retranslation TTS to target language only
When retranslate=True, _generate_tts_for_languages was receiving
the full outputs dict (all 9 languages) and regenerating TTS + render
for every language on every single-language retranslation task.
That multiplied API calls by 8x and triggered unnecessary renders.

Now passes only the target language outputs when retranslate=True.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 16:57:20 +01:00
..
__init__.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
_websocket_bridge.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
embed_glossary.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
ffmpeg_operations.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
ingest_and_ai.py fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
notify.py feat(briefs+notify+downloads): fix projects dropdown, add assignee, expand languages, fix PM email, add Download All 2026-04-30 21:47:28 +01:00
render_accessible_video.py fix(ui): connection dot in navbar, profile page, render error visibility + audit log 2026-05-01 16:19:12 +01:00
rerender_accessible_video.py fix(ui): connection dot in navbar, profile page, render error visibility + audit log 2026-05-01 16:19:12 +01:00
runner.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
translate_and_synthesize.py fix(tts): scope retranslation TTS to target language only 2026-05-07 16:57:20 +01:00
tts_synthesis.py fix(tts): revert pro TTS to gemini-2.5-pro-preview-tts (3.1 pro TTS doesn't exist yet) 2026-04-30 21:01:22 +01:00
whisper_transcribe.py fix: add authentication for Cloud Run service calls 2026-01-02 11:41:07 -06:00