Spaces:
Sleeping
Sleeping
Commit History
-
Switch translation backend from Gemini to OpenRouter, add test suite
Replaces the Gemini API integration with OpenRouter: the model dropdown is now live-fetched from OpenRouter's catalog with a small curated set of recommended models pinned to the top (also used as OpenRouter's server-side model fallback chain). Adds a pytest suite covering chunking, file I/O, prompt storage, the OpenRouter backend, the backend dispatcher, the local CPU backend, and the Gradio handlers/app wiring, plus sample Tibetan input files (txt/docx/pdf) used as test fixtures. Also adds a pre-push git hook that runs the suite and blocks the push on failure. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>36fc86c