Files
ollama-ollama/server
Bruce MacDonald 522d553b03 server: preserve raw manifest bytes during pull
pullModelManifest unmarshals the registry response into a Go struct
then re-marshals with json.Marshal before writing to disk. When the
registry's JSON formatting or field ordering differs from Go's
output, the local SHA256 won't match the registry's
Ollama-Content-Digest header, causing false "out of date" warnings.

Preserve the raw bytes from the registry response and write them
directly to disk so the local manifest is byte-for-byte identical
to what the registry serves.
2026-03-27 14:30:51 -07:00
..
2026-03-16 17:40:29 -07:00
2026-03-16 17:40:29 -07:00