[GH-ISSUE #13926] Delete all chat history in GUI app #34872

Open
opened 2026-04-22 18:48:24 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @erf on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13926

If i want to delete the chats in the GUI now i have to right click and select delete on each and every chat. I would like to do a "Select All" or similar button to select and delete all chat history.

I would also appreciate if you mention in the (docs)[https://docs.ollama.com/macos) where the chat history is stored so i could delete it manually. I suspect this is stored in the db.sqlite file under ~/Library/Application Support/Ollama ?

I'm on macOS on Ollama Version 0.15.2

Originally created by @erf on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13926 If i want to delete the chats in the GUI now i have to right click and select delete on each and every chat. I would like to do a "Select All" or similar button to select and delete all chat history. I would also appreciate if you mention in the (docs)[https://docs.ollama.com/macos) where the chat history is stored so i could delete it manually. I suspect this is stored in the `db.sqlite` file under `~/Library/Application Support/Ollama` ? I'm on macOS on Ollama Version 0.15.2
GiteaMirror added the feature request label 2026-04-22 18:48:24 -05:00
Author
Owner

@ToledoEM commented on GitHub (Mar 7, 2026):

I was tired of this so I made a clean script to purge sql db chats. It needs some tools installed in OSX but I works fine and fast. Also to delete the logs.

https://github.com/ToledoEM/Delete_ollamahistory_chat

<!-- gh-comment-id:4016505756 --> @ToledoEM commented on GitHub (Mar 7, 2026): I was tired of this so I made a clean script to purge sql db chats. It needs some tools installed in OSX but I works fine and fast. Also to delete the logs. https://github.com/ToledoEM/Delete_ollamahistory_chat
Author
Owner

@feureau commented on GitHub (Apr 3, 2026):

The current iteration of the GUI necessitates a repetitive manual process for conversation management that scales poorly as user engagement increases. Implementing a 'Select All' or 'Clear History' function would significantly reduce UX friction and align the desktop client with standard data management expectations. Supporting this request to facilitate more efficient workspace maintenance.

<!-- gh-comment-id:4182966580 --> @feureau commented on GitHub (Apr 3, 2026): The current iteration of the GUI necessitates a repetitive manual process for conversation management that scales poorly as user engagement increases. Implementing a 'Select All' or 'Clear History' function would significantly reduce UX friction and align the desktop client with standard data management expectations. Supporting this request to facilitate more efficient workspace maintenance.
Author
Owner

@ToledoEM commented on GitHub (Apr 20, 2026):

The scripts to delete only the chat history now works in Windows, Linux and OSX ...

<!-- gh-comment-id:4280056778 --> @ToledoEM commented on GitHub (Apr 20, 2026): The [scripts](https://github.com/ToledoEM/Delete_ollamahistory_chat) to delete only the chat history now works in Windows, Linux and OSX ...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#34872