Hermes Bot commited on
fix: lock default model to Qwen/Qwen2.5-1.5B-Instruct
Browse filesNewer candidates (Phi-4-mini, SmolLM3-3B, Gemma-2-9B-it) return
'model_not_supported' from the HF Inference router on this account.
Keep the free-tier working default; users can still override via config.
shared/inference_client.py
CHANGED
|
@@ -105,8 +105,7 @@ def _get_client():
|
|
| 105 |
from huggingface_hub import InferenceClient
|
| 106 |
return InferenceClient(
|
| 107 |
model=INFERENCE_MODEL,
|
| 108 |
-
token=HF_TOKEN,
|
| 109 |
-
|
| 110 |
)
|
| 111 |
def generate(
|
| 112 |
project: str,
|
|
|
|
| 105 |
from huggingface_hub import InferenceClient
|
| 106 |
return InferenceClient(
|
| 107 |
model=INFERENCE_MODEL,
|
| 108 |
+
token=HF_TOKEN,
|
|
|
|
| 109 |
)
|
| 110 |
def generate(
|
| 111 |
project: str,
|