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
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m21s
This commit is contained in:
@@ -771,21 +771,6 @@ class TestProviderParameter:
|
||||
)
|
||||
assert response.status_code == 202
|
||||
|
||||
def test_accepts_provider_ollama(self, authenticated_client):
|
||||
"""Accepts provider='ollama'"""
|
||||
excel_content = create_valid_excel()
|
||||
response = authenticated_client.post(
|
||||
TRANSLATE_URL,
|
||||
files={
|
||||
"file": (
|
||||
"test.xlsx",
|
||||
io.BytesIO(excel_content),
|
||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
)
|
||||
},
|
||||
data={"target_lang": "fr", "provider": "ollama"},
|
||||
)
|
||||
assert response.status_code == 202
|
||||
|
||||
|
||||
class TestSourceLangValidation:
|
||||
|
||||
Reference in New Issue
Block a user