Add OpenRouter provider with DeepSeek support - best value for translation (.14/M tokens)
This commit is contained in:
@@ -331,7 +331,7 @@ class LanguageValidator:
|
||||
class ProviderValidator:
|
||||
"""Validates translation provider configuration"""
|
||||
|
||||
SUPPORTED_PROVIDERS = {"google", "ollama", "deepl", "libre", "openai", "webllm"}
|
||||
SUPPORTED_PROVIDERS = {"google", "ollama", "deepl", "libre", "openai", "webllm", "openrouter"}
|
||||
|
||||
@classmethod
|
||||
def validate(cls, provider: str, **kwargs) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user