Skip to main content

Module ollama_pull

Module ollama_pull 

Source
Expand description

Folding an Ollama /api/pull ndjson stream into install progress. Each line is a status object; digest lines carry per-layer byte totals that aggregate into overall progress, and a success line ends the pull.

Structs§

Aggregator
Accumulates per-layer byte counts across pull lines into overall progress.

Enums§

Outcome
What folding one pull line produced.