0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 150 forks source link

Add super interactive prompt #32

Closed Juliocj7 closed 1 year ago

Juliocj7 commented 1 year ago

This adds interactivity and also a live record of the questions asked.

0xacx commented 1 year ago

Hi @Juliocj7 Thank you for this PR! The script already contains a history file that follows a specific format for questions and answers, so that they can be retrieved and resend in conversations with chat context. Thus, I do not see a reason to create another history file. Rlwrap has been suggested as a solution to maintain command history before, but since it's an extra library that has to be installed and offers no additional functionality than what can be achieved by the script as is, I prefer not to include it in the script. As the functionality that is suggested in this PR is already implemented, I am going to close this. Thanks again! 🙏