mirror of
https://github.com/ollama/ollama.git
synced 2026-03-11 17:34:04 -05:00
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.