[PR #15867] [CLOSED] docs: clarify Modelfile file format #77628

Closed
opened 2026-05-05 10:18:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15867
Author: @samrusani
Created: 4/28/2026
Status: Closed

Base: mainHead: codex/clarify-modelfile-format


📝 Commits (1)

  • 0ddaf95 docs: clarify Modelfile file format

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 docs/modelfile.mdx (+6 -2)

📄 Description

Summary

  • Clarify that a Modelfile is a plain text instruction file and does not require an extension
  • Document the default Modelfile lookup and ollama create -f <path> override
  • Note that FROM and ADAPTER paths may be absolute or relative to the Modelfile location

Validation

  • git diff --check

Refs #9582


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15867 **Author:** [@samrusani](https://github.com/samrusani) **Created:** 4/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/clarify-modelfile-format` --- ### 📝 Commits (1) - [`0ddaf95`](https://github.com/ollama/ollama/commit/0ddaf95f34a083978bdeb90a2289a950800e4cb8) docs: clarify Modelfile file format ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/modelfile.mdx` (+6 -2) </details> ### 📄 Description ## Summary - Clarify that a Modelfile is a plain text instruction file and does not require an extension - Document the default `Modelfile` lookup and `ollama create -f <path>` override - Note that `FROM` and `ADAPTER` paths may be absolute or relative to the Modelfile location ## Validation - `git diff --check` Refs #9582 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 10:18:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#77628