[GH-ISSUE #1346] Set conversation or chat history/context in CLI #47215

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

Originally created by @Maharshi-Pandya on GitHub (Dec 1, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1346

Thank you for making this!

I tried the /set history command within the CLI and expected it to work.
I would like to use the CLI as a chatbot itself having access to conversation history (a window of messages if not whole).

What is the process to set the conversation history as context in Openhermes-mistral specifically?

Here is the bug:
image

Originally created by @Maharshi-Pandya on GitHub (Dec 1, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1346 Thank you for making this! I tried the `/set history` command within the CLI and expected it to work. I would like to use the CLI as a chatbot itself having access to conversation history (a window of messages if not whole). What is the process to set the conversation history as context in `Openhermes-mistral` specifically? Here is the bug: <img width="1070" alt="image" src="https://github.com/jmorganca/ollama/assets/53078775/c6033c8b-5054-41a8-9977-9a0e0ab8b130">
Author
Owner

@BruceMacD commented on GitHub (Dec 4, 2023):

Hi @Maharshi-Pandya, this should work, here is my test for reference:
image

I'd suggest making sure you're on the latest ollama release, it could also have been some weirdness with the model so it is worth another shot.

<!-- gh-comment-id:1839644704 --> @BruceMacD commented on GitHub (Dec 4, 2023): Hi @Maharshi-Pandya, this should work, here is my test for reference: <img width="750" alt="image" src="https://github.com/jmorganca/ollama/assets/5853428/c1b363d5-3135-492f-8dea-829a43459424"> I'd suggest making sure you're on the latest ollama release, it could also have been some weirdness with the model so it is worth another shot.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#47215