feat: support Gemma 4 chat and agent trials
This commit is contained in:
@@ -11,7 +11,11 @@ if ($env:GROQ_API_KEY) {
|
||||
Write-Warning 'GROQ_API_KEY is not configured; local chat works, but voice transcription will return 503.'
|
||||
}
|
||||
$ollama = Invoke-RestMethod -Uri 'http://127.0.0.1:11434/api/tags' -TimeoutSec 5
|
||||
$model = 'qwen2.5:1.5b-instruct-q4_K_M'
|
||||
$model = if ($env:LOCAL_MODEL) {
|
||||
$env:LOCAL_MODEL
|
||||
} else {
|
||||
'qwen2.5:1.5b-instruct-q4_K_M'
|
||||
}
|
||||
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