ai-local-edge

Ollama v0.40.6-rc1 improves proxy support for registry redirects

Key Takeaway

Ollama adds support for proxies when handling registry redirect targets and fixes a crash in blob downloads.

Summary

The v0.40.6-rc1 release candidate for Ollama introduces changes to how the runtime handles registry redirects when a proxy is present. It also addresses a stability issue by fixing a nil CancelFunc crash during blob download releases.

Technical changes in v0.40.6-rc1

  • When a proxy is active, DNS resolution for redirect targets is deferred to the proxy.
  • In the absence of a proxy, the existing resolve-and-pin mechanism is maintained.
  • Default registry and CDN hostnames are trusted without requiring local DNS.
  • Fixed a crash involving a nil CancelFunc in blobDownload.release.

Original reference: github.com →