kardolus / chatgpt-cli

ChatGPT CLI is an advanced command-line interface for ChatGPT models via OpenAI and Azure, offering streaming, query mode, and history tracking for seamless, context-aware conversations. Ideal for both users and developers, it provides advanced configuration and easy setup options to ensure a tailored conversational experience with the GPT model.
MIT License
404 stars 28 forks source link

Auto-create new thread per conversation like in ChatGPT #49

Open oluckyman opened 1 month ago

oluckyman commented 1 month ago

It would be nice to have a mode similar to ChatGPT that, by default, starts the interactive mode in a new thread rather than in the default one. This way, I can quickly create random conversations with a few questions. Currently, I don't see how to quickly start a conversation in a new thread (and I don't yet know if it's a throwaway thread or one I might want to return to).

catskull commented 1 month ago

Happy to help out on this one @kardolus

kardolus commented 1 month ago

Thanks @catskull! Sorry y'all, was busy working on 1.6.1.

@oluckyman this seems like a good idea. Is there a specific naming convention you have in mind? I could try naming the thread based on the first query (?).

oluckyman commented 1 month ago

How about using a short, two-word slug? This could be either randomly generated or based on the thread content.

kardolus commented 1 month ago

A two-world slug sounds good, I will start with randomly created ones since it is easier to implement. We can always iterate later. Will probably make it configurable with a simple variable so users can opt in for this new functionality.