• Patrick Devine's avatar
    fix: correctly save in interactive mode (#9788) · 2c8b4846
    Patrick Devine authored
    This fixes the case where a FROM line in previous modelfile points to a
    file which may/may not be present in a different ollama instance. We
    shouldn't be relying on the filename though and instead just check if
    the FROM line was instead a valid model name and point to that instead.
    2c8b4846
interactive.go 16.8 KB