feat: unify multimodels translation providers, remove self-hosting (Ollama/LibreTranslate), and fix local SQLite configuration
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m21s

This commit is contained in:
2026-06-14 10:44:46 +02:00
parent feea02033b
commit 5fd087979b
21 changed files with 157 additions and 1942 deletions

View File

@@ -345,7 +345,7 @@ class TestTranslateWithFallbackByMode:
mock_translate.return_value = MagicMock()
with patch("services.providers.config.ProvidersConfig") as mock_config:
mock_config.get_fallback_chain.return_value = ["ollama", "openai"]
mock_config.get_fallback_chain.return_value = ["openrouter", "openai"]
request = TranslationRequest(text="Hello", target_language="fr")
translate_with_fallback_by_mode(request, mode="llm")