Fix Windows Ollama inference preset routing

This commit is contained in:
mmckeen-nv
2026-05-20 13:14:40 -07:00
parent 150169e5d5
commit 9d0e0e1a16
3 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ async function probeWindowsPowerShellCandidate(candidate: OllamaProbeCandidate):
"-ExecutionPolicy",
"Bypass",
"-Command",
"$ProgressPreference = 'SilentlyContinue'; (Invoke-WebRequest -UseBasicParsing -TimeoutSec $args[0] -Uri $args[1]).Content",
"& { param([int]$timeoutSec, [string]$uri) $ProgressPreference = 'SilentlyContinue'; (Invoke-WebRequest -UseBasicParsing -TimeoutSec $timeoutSec -Uri $uri).Content }",
String(WINDOWS_CURL_TIMEOUT_SECONDS),
tagsUrl(candidate.baseUrl),
], {