[GH-ISSUE #1453] setting the system prompt in the repl doesn't show it in /show modelfile #47290

Closed
opened 2026-04-28 03:30:49 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @technovangelist on GitHub (Dec 10, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1453

If you have a model with no system prompt set, then you run that model, you can set it in the repl. let's say you use /set system You are a helpful ai assistant. Always answer in German. and then ask a question, you get back an answer in German. But if you run /show modelfile, there is no system prompt set. But if you run /show system you will see your new prompt.

Originally created by @technovangelist on GitHub (Dec 10, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1453 If you have a model with no system prompt set, then you run that model, you can set it in the repl. let's say you use `/set system You are a helpful ai assistant. Always answer in German.` and then ask a question, you get back an answer in German. But if you run `/show modelfile`, there is no system prompt set. But if you run `/show system` you will see your new prompt.
Author
Owner

@pdevine commented on GitHub (Jan 25, 2024):

This is fixed now.

<!-- gh-comment-id:1911106728 --> @pdevine commented on GitHub (Jan 25, 2024): This is fixed now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#47290