[PR #8449] [MERGED] parser: fix parsing Modelfiles with multiple FROM commands #75004

Closed
opened 2026-05-05 07:21:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8449
Author: @jmorganca
Created: 1/16/2025
Status: Merged
Merged: 1/16/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/fix-create


📝 Commits (1)

  • 173ec49 parser: fix parsing Modelfiles with multiple FROM commands

📊 Changes

2 files changed (+15 additions, -4 deletions)

View changed files

📝 parser/parser.go (+7 -1)
📝 parser/parser_test.go (+8 -3)

📄 Description

Fixes https://github.com/ollama/ollama/issues/8448


🔄 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/8449 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/16/2025 **Status:** ✅ Merged **Merged:** 1/16/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/fix-create` --- ### 📝 Commits (1) - [`173ec49`](https://github.com/ollama/ollama/commit/173ec49748849832dfbf0a58ce5c80f3c8178d3a) parser: fix parsing Modelfiles with multiple FROM commands ### 📊 Changes **2 files changed** (+15 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+7 -1) 📝 `parser/parser_test.go` (+8 -3) </details> ### 📄 Description Fixes https://github.com/ollama/ollama/issues/8448 --- <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 07:21:04 -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#75004