[PR #5662] [MERGED] fix system prompt #11873

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5662
Author: @mxyng
Created: 7/13/2024
Status: Merged
Merged: 7/13/2024
Merged by: @jmorganca

Base: mainHead: mxyng/system-prompt


📝 Commits (3)

📊 Changes

3 files changed (+51 additions, -30 deletions)

View changed files

📝 server/prompt.go (+7 -16)
📝 server/prompt_test.go (+18 -0)
📝 template/template.go (+26 -14)

📄 Description

No description provided


🔄 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/5662 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/13/2024 **Status:** ✅ Merged **Merged:** 7/13/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `mxyng/system-prompt` --- ### 📝 Commits (3) - [`980df20`](https://github.com/ollama/ollama/commit/980df200557761e5e92c1aa43a3d21fef36c7cce) fix system prompt - [`bf96a35`](https://github.com/ollama/ollama/commit/bf96a35b069d95e925ff3fac8f0d0edfc95d41b9) execute template when hitting previous roles - [`9e19159`](https://github.com/ollama/ollama/commit/9e1915915ac658796faca7bd322ed4f879f18b51) fix tests ### 📊 Changes **3 files changed** (+51 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `server/prompt.go` (+7 -16) 📝 `server/prompt_test.go` (+18 -0) 📝 `template/template.go` (+26 -14) </details> ### 📄 Description _No description provided_ --- <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:41:12 -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#11873