[PR #9917] [MERGED] Revert "parser: remove role validation from Modelfile parser (#9874)" #13093

Closed
opened 2026-04-13 00:17:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9917
Author: @ParthSareen
Created: 3/20/2025
Status: Merged
Merged: 3/21/2025
Merged by: @BruceMacD

Base: mainHead: parth/revert-9874


📝 Commits (1)

  • 0e00d14 Revert "parser: remove role validation from Modelfile parser (#9874)"

📊 Changes

2 files changed (+16 additions, -12 deletions)

View changed files

📝 parser/parser.go (+11 -7)
📝 parser/parser_test.go (+5 -5)

📄 Description

This reverts commit ffbfe833da.


🔄 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/9917 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 3/20/2025 **Status:** ✅ Merged **Merged:** 3/21/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `parth/revert-9874` --- ### 📝 Commits (1) - [`0e00d14`](https://github.com/ollama/ollama/commit/0e00d143f4bef1e6f20b829130231b257e324529) Revert "parser: remove role validation from Modelfile parser (#9874)" ### 📊 Changes **2 files changed** (+16 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+11 -7) 📝 `parser/parser_test.go` (+5 -5) </details> ### 📄 Description This reverts commit ffbfe833da387f9b6806fe887b85992c11d26eaa. --- <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-04-13 00:17:55 -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#13093