ollama/server/internal
Blake Mizerany 1248736636
server/internal/client/ollama: cleanup use of multiple counters (#10304)
The completed and received counters must work in tandem and the code
should better reflect that. Previously, the act of updating them was 2-3
lines of code duplicated in multiple places. This consolidates them into
a single update closure for easy reading and maintenance.

This also simplifies error handling in places where we can use a return
parameter and defer to handle the error case for updates.

Also, remove the old Layer field from the trackingReader struct.
2025-12-29 06:37:38 -06:00
..
cache/blob server/internal/chunks: remove chunks package (#9755) 2025-03-14 08:57:59 -07:00
client/ollama server/internal/client/ollama: cleanup use of multiple counters (#10304) 2025-12-29 06:37:38 -06:00
cmd/opp server/internal/chunks: remove chunks package (#9755) 2025-03-14 08:57:59 -07:00
internal server/.../backoff,syncs: don't break builds without synctest (#9484) 2025-03-03 16:45:40 -08:00
manifest server/internal: copy bmizerany/ollama-go to internal package (#9294) 2025-02-24 22:39:44 -08:00
registry cmd: add retry/backoff (#10069) 2025-12-29 06:37:37 -06:00
testutil server/internal: replace model delete API with new registry handler. (#9347) 2025-02-27 12:04:53 -08:00