fix index bug

This commit is contained in:
Daniel Hiltgen 2025-09-24 12:22:46 -07:00
parent c57cd59be7
commit 2689357890
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ func bootstrapDevices(ctx context.Context, ollamaLibDirs []string, extraEnvs []s
extra := strings.SplitN(extraEnvs[j], "=", 2)
if cmp[0] == extra[0] {
cmd.Env[i] = extraEnvs[j]
extraDone[i] = true
extraDone[j] = true
}
}
}