Spaces:
Sleeping
Sleeping
Update ccpu_parser/llm_client.py
Browse files
ccpu_parser/llm_client.py
CHANGED
|
@@ -49,7 +49,7 @@ logger = logging.getLogger("ccpu_parser")
|
|
| 49 |
# ---------------------------------------------------------------------------
|
| 50 |
|
| 51 |
# Provider possible : "huggingface" (par défaut) ou "deepinfra"
|
| 52 |
-
LLM_PROVIDER: str = os.getenv("CCPU_LLM_PROVIDER", "
|
| 53 |
|
| 54 |
# Modèle principal (utilisé au moins comme fallback pour les deux providers)
|
| 55 |
# ⚠️ À adapter : choisis un modèle réellement disponible côté provider.
|
|
|
|
| 49 |
# ---------------------------------------------------------------------------
|
| 50 |
|
| 51 |
# Provider possible : "huggingface" (par défaut) ou "deepinfra"
|
| 52 |
+
LLM_PROVIDER: str = os.getenv("CCPU_LLM_PROVIDER", "deepinfra").strip().lower()
|
| 53 |
|
| 54 |
# Modèle principal (utilisé au moins comme fallback pour les deux providers)
|
| 55 |
# ⚠️ À adapter : choisis un modèle réellement disponible côté provider.
|