marcolardera / chatgpt-cli

Simple yet effective command line client for chatting with ChatGPT using the official API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save full conversation

bjohas opened this issue · comments

This thread proposes a /save command. This is different from /copy, because copy only copies the response. Often, I want to copy the whole conversation.

I'd like to propose a /save filename and /edit command. /edit would take the full conversation, put it into a temporary file, and open it in the system default editor.

If a PR on this would likely be accepted, I could look at implementing this.

Hello, @bjohas , thanks for the feedback.

Conversation are already saved in JSON format in the ~/.config/chatgpt-cli/session-history folder. I think you mean to save it in a more human readable text format, right? If so, I think it would be a nice feature, if you want to implement it I will be happy to review your PR... thank you! :)