[PR #1425] [MERGED] fix: restore modelfile system in prompt template #10579

Closed
opened 2026-04-12 23:03:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1425
Author: @BruceMacD
Created: 12/8/2023
Status: Merged
Merged: 12/8/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/modefile-system-p-template


📝 Commits (1)

  • 573f5bd fix: restore modelfile system in prompt template

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 server/images.go (+5 -0)

📄 Description

In #1244 this line which sets the modelfile system variable in the template got removed. It must still be there to apply the system template from the modelfile.


🔄 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/1425 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 12/8/2023 **Status:** ✅ Merged **Merged:** 12/8/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/modefile-system-p-template` --- ### 📝 Commits (1) - [`573f5bd`](https://github.com/ollama/ollama/commit/573f5bd3ecd1fa9c1c2cb36e66bd977f4559204f) fix: restore modelfile system in prompt template ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+5 -0) </details> ### 📄 Description In #1244 this line which sets the modelfile system variable in the template got removed. It must still be there to apply the system template from the modelfile. --- <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-12 23:03:50 -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#10579