[GH-ISSUE #8476] Receiving a new error when trying to create modelfile with same code #51968

Closed
opened 2026-04-28 21:25:40 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @indigotechtutorials on GitHub (Jan 18, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8476

What is the issue?

I have an existing app which was working on an older version of ollama to create the modelfile I was able to do this using a string and using the "FROM model \n SYSTEM instructions" syntax.
I am using the ruby-ollama API wrapper gem.

The error I am seeing is neither 'from' or 'files' was specified

I verified that I am passing in a valid prompt but it is still not working.

Any ideas why the newer Ollama would process the modelfile different I noticed there was some changes to the parser in a recent commit

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @indigotechtutorials on GitHub (Jan 18, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8476 ### What is the issue? I have an existing app which was working on an older version of ollama to create the modelfile I was able to do this using a string and using the "FROM model \n SYSTEM instructions" syntax. I am using the ruby-ollama API wrapper gem. The error I am seeing is neither 'from' or 'files' was specified I verified that I am passing in a valid prompt but it is still not working. Any ideas why the newer Ollama would process the modelfile different I noticed there was some changes to the parser in a recent commit ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-28 21:25:40 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 18, 2025):

https://github.com/ollama/ollama/issues/8468

<!-- gh-comment-id:2599482808 --> @rick-github commented on GitHub (Jan 18, 2025): https://github.com/ollama/ollama/issues/8468
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#51968