[PR #978] [MERGED] Only insert system prompt if first request #15686

Closed
opened 2026-04-16 05:04:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/978
Author: @jmorganca
Created: 11/2/2023
Status: Merged
Merged: 11/2/2023
Merged by: @jmorganca

Base: mainHead: one-system


📝 Commits (1)

  • e96437e only use system prompt if context is not provided

📊 Changes

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

View changed files

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

📄 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/978 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 11/2/2023 **Status:** ✅ Merged **Merged:** 11/2/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `one-system` --- ### 📝 Commits (1) - [`e96437e`](https://github.com/ollama/ollama/commit/e96437e2f2a7ea4feb664dcd40012744bf6e03ac) only use system prompt if context is not provided ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+5 -1) </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-16 05:04: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#15686