Set Gemma 4 E2B as default and document Windows app
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user