[GH-ISSUE #4397] how to keep system prompt permanently after setting SYSTEM #2750

Closed
opened 2026-04-12 13:03:39 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @taozhiyuai on GitHub (May 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4397

What is the issue?

  1. /set SYSTEM
  2. /show modelfile, I can see the setting is updated.
  3. if I /bye, and ollama run model again, and /show modelfile , it seems SYSTEM in modelfile is restored.

is that possible the model can keep my new SYSTEM setting permanently?

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

1.37

Originally created by @taozhiyuai on GitHub (May 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4397 ### What is the issue? 1. /set SYSTEM 2. /show modelfile, I can see the setting is updated. 3. if I /bye, and ollama run model again, and /show modelfile , it seems SYSTEM in modelfile is restored. is that possible the model can keep my new SYSTEM setting permanently? ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 1.37
GiteaMirror added the bug label 2026-04-12 13:03:39 -05:00
Author
Owner

@jmorganca commented on GitHub (May 14, 2024):

Hi @taozhiyuai, you can do /save <name> and /load <name> to save a new model with the system prompt you've set with /set system. Hope this helps!

<!-- gh-comment-id:2109049867 --> @jmorganca commented on GitHub (May 14, 2024): Hi @taozhiyuai, you can do `/save <name>` and `/load <name>` to save a new model with the system prompt you've set with `/set system`. Hope this helps!
Author
Owner

@taozhiyuai commented on GitHub (May 14, 2024):

Hi @taozhiyuai, you can do /save <name> and /load <name> to save a new model with the system prompt you've set with /set system. Hope this helps!

I see. it works. so the help information should be modified. Not to "load a session" or "save ... session". it should be "load a model" and "save ... model". I misunderstand the help which may mean load and save a conversation between me and LLM. @_@

/load Load a session or model
/save Save your current session

@jmorganca

<!-- gh-comment-id:2109065551 --> @taozhiyuai commented on GitHub (May 14, 2024): > Hi @taozhiyuai, you can do `/save <name>` and `/load <name>` to save a new model with the system prompt you've set with `/set system`. Hope this helps! I see. it works. so the help information should be modified. Not to "load a session" or "save ... session". it should be "load a model" and "save ... model". I misunderstand the help which may mean load and save a conversation between me and LLM. @_@ /load <model> Load a session or model /save <model> Save your current session @jmorganca
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2750