kardolus/chatgpt-cli

Plans to add `--set-thread` and `--list-threads` flags ?

angustatchell opened this issue ยท 4 comments

Hi @kardolus ,

Thanks for your work putting this CLI together. It's so nice to use ChatGPT in such a simple way. (And great to use in situations where browsers are disabled, like when using restricted airplane "message only wifi" packages !)

Having used it for a couple of days now, I'm finding the most UX friction to be in changing the threads. The simplest way I have been doing this from the command line is with sed on the config file.

Do you have any plans to add a --set-thread flag, and beyond that, a --list-threads flag?

I think these would make a really positive impact on the UX.

All the best,
Angus

@angustatchell I haven't thought of this. I think this is a great idea. Thank you.

Currently you can set the active thread using the OPENAI_THREAD environment variable or through your config.yaml file.

However, having flags to actually set them would be great. I will think about the implementation details.

@angustatchell I added the --set-thread flag in this commit.

I will try to find some time later today to add --list-threads. I may end up waiting until next weekend :).

Either way, I will cut a new release (1.4.1) after adding the --list-threads flag. I will keep you in the loop.

@kardolus awesome!

Looking forward to giving it a try.

@angustatchell just released 1.4.1 with the new flags :)