mirror of
https://github.com/ollama/ollama.git
synced 2025-04-08 03:48:21 +02: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.