[PR #1335] [MERGED] allow setting the system and template for prompts in the repl #10554

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1335
Author: @pdevine
Created: 11/30/2023
Status: Merged
Merged: 12/1/2023
Merged by: @pdevine

Base: mainHead: params-system


📝 Commits (1)

  • 9022e08 allow setting the system and template for prompts in the repl

📊 Changes

1 file changed (+87 additions, -21 deletions)

View changed files

📝 cmd/cmd.go (+87 -21)

📄 Description

This change allows setting the system prompt and the prompt template in the repl. It works with both single lines, and with multiline input.


🔄 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/1335 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 11/30/2023 **Status:** ✅ Merged **Merged:** 12/1/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `params-system` --- ### 📝 Commits (1) - [`9022e08`](https://github.com/ollama/ollama/commit/9022e08b74e2457e7cf35af4e4297b810099450f) allow setting the system and template for prompts in the repl ### 📊 Changes **1 file changed** (+87 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+87 -21) </details> ### 📄 Description This change allows setting the system prompt and the prompt template in the repl. It works with both single lines, and with multiline input. --- <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:06 -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#10554