ollama/server/internal
Blake Mizerany b48b6f85cd server/internal/client/ollama: hold DiskCache on Registry
Previously, clients of a Registry had to carry around a DiskCache to use
it. This change makes the DiskCache an optional field on the Registry
struct.

This also changes DefaultCache to initialize one on first use. This
prevents overhead of building the cache if it is never used, or per
Registry request that involves use of DefaultCache.

Also, slip in some minor docs on Trace.
2025-03-02 15:43:24 -08:00
..
cache/blob server/internal: replace model delete API with new registry handler. (#9347) 2025-02-27 12:04:53 -08:00
chunks server/internal: copy bmizerany/ollama-go to internal package (#9294) 2025-02-24 22:39:44 -08:00
client/ollama server/internal/client/ollama: hold DiskCache on Registry 2025-03-02 15:43:24 -08:00
cmd server/internal/client/ollama: hold DiskCache on Registry 2025-03-02 15:43:24 -08:00
internal server/internal/internal/names: validate names (#9400) 2025-03-01 13:15:14 -08:00
manifest server/internal: copy bmizerany/ollama-go to internal package (#9294) 2025-02-24 22:39:44 -08:00
registry server/internal/client/ollama: hold DiskCache on Registry 2025-03-02 15:43:24 -08:00
testutil server/internal: replace model delete API with new registry handler. (#9347) 2025-02-27 12:04:53 -08:00