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

@@ -513,12 +513,14 @@ class ProviderValidator:
SUPPORTED_PROVIDERS = {
"google",
"ollama",
"google_cloud",
"deepl",
"libre",
"openai",
"webllm",
"openrouter",
"openrouter_premium",
"deepseek",
"minimax",
"zai",
"classic",
"llm",
}
@@ -558,11 +560,7 @@ class ProviderValidator:
code="missing_openai_key",
)
elif normalized == "ollama":
# Ollama doesn't require API key but may need model
model = kwargs.get("ollama_model", "")
if not model:
logger.warning("No Ollama model specified, will use default")
return {"provider": normalized, "validated": True}