• Blake Mizerany's avatar
    server: allow mixed-case model names on push, pull, cp, and create (#7676) · 4b8a2e34
    Blake Mizerany authored
    This change allows for mixed-case model names to be pushed, pulled,
    copied, and created, which was previously disallowed because the Ollama
    registry was backed by a Docker registry that enforced a naming
    convention that disallowed mixed-case names, which is no longer the
    case.
    
    This does not break existing, intended, behaviors.
    
    Also, make TestCase test a story of creating, updating, pulling, and
    copying a model with case variations, ensuring the model's manifest is
    updated correctly, and not duplicated across different files with
    different case variations.
    4b8a2e34
images.go 28.6 KB