Set Gemma 4 E2B as default and document Windows app

This commit is contained in:
Hamza Ayed
2026-09-30 09:16:51 +03:00
parent 1295e4aea3
commit f0a444ca46
3 changed files with 42 additions and 9 deletions
+2 -1
View File
@@ -14,8 +14,9 @@ $ollama = Invoke-RestMethod -Uri 'http://127.0.0.1:11434/api/tags' -TimeoutSec 5
$model = if ($env:LOCAL_MODEL) {
$env:LOCAL_MODEL
} else {
'qwen2.5:1.5b-instruct-q4_K_M'
'gemma4:e2b'
}
Write-Host "Local model: $model"
if (-not ($ollama.models.name -contains $model)) {
throw "Ollama is running, but model '$model' is missing. Run: ollama pull $model"
}