[GH-ISSUE #7600] /save overwrites everything including system and template and previous messages #30608

Open
opened 2026-04-22 10:25:38 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @belfie13 on GitHub (Nov 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7600

What is the issue?

the /save command overwrites everything and only includes the current context, any previously saved data is lost including the system and template

to recreate

ollama create model -f customtemplate.modelfile
ollama run model

>>> /set system you are an assistant

>>> how are you?

>>> /save 02

>>> what's the time?

>>> /save 02
>>> /load 02
>>> /show template
>>> /show system

>>> what questions have i asked you so far?

You've asked me three questions so far:

1. How are you?
2. What's the time?

>>> /bye

ollama run 02
/show modelfile

>>> what questions have i asked you so far?
You've asked me one question so far:

1. What questions have I asked you so far?

OS

macOS

GPU

AMD

CPU

Intel

Ollama version

0.4.0

Originally created by @belfie13 on GitHub (Nov 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7600 ### What is the issue? the `/save` command overwrites everything and only includes the current context, any previously saved data is lost including the system and template to recreate ```shell ollama create model -f customtemplate.modelfile ollama run model >>> /set system you are an assistant >>> how are you? >>> /save 02 >>> what's the time? >>> /save 02 >>> /load 02 >>> /show template >>> /show system >>> what questions have i asked you so far? You've asked me three questions so far: 1. How are you? 2. What's the time? >>> /bye ollama run 02 /show modelfile >>> what questions have i asked you so far? You've asked me one question so far: 1. What questions have I asked you so far? ``` ### OS macOS ### GPU AMD ### CPU Intel ### Ollama version 0.4.0
GiteaMirror added the bug label 2026-04-22 10:25:38 -05:00
Author
Owner

@rick-github commented on GitHub (Nov 10, 2024):

https://github.com/ollama/ollama/issues/6222

<!-- gh-comment-id:2466959521 --> @rick-github commented on GitHub (Nov 10, 2024): https://github.com/ollama/ollama/issues/6222
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30608