ollama/server/internal
Blake Mizerany 9c1204b686 server/internal/internal/names: validate names
This commit is a step towards a goal to make names less ceremonial
outside of the registry client. Clients of the registry package can
treat names as opaque strings, and the registry package will handle
parsing, validating, and normalizing names.

Ideally we end up with the names package tucked away in an internal
package for good. We'll see how things go.

Also, this package name is not permanent. This another step in the
on-going process of refactoring the server code, and at some point it
will most likely be renamed/moved.
2025-02-28 16:30:42 -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/internal/names: validate names 2025-02-28 16:30:42 -08:00
cmd server/.../safetensors: fix offsets and include all model parts (#9427) 2025-02-28 13:08:10 -08:00
internal server/internal/internal/names: validate names 2025-02-28 16:30:42 -08:00
manifest server/internal: copy bmizerany/ollama-go to internal package (#9294) 2025-02-24 22:39:44 -08:00
registry server/internal/internal/names: validate names 2025-02-28 16:30:42 -08:00
testutil server/internal: replace model delete API with new registry handler. (#9347) 2025-02-27 12:04:53 -08:00