mirror of
https://github.com/ollama/ollama.git
synced 2025-03-18 22:01:47 +01: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.