Closed aramacs closed 1 year ago
This happenned because the bash function in customizer didn't run inside a subshell. Now this problem is solved. The solution was to run the cd inside () to avoid changing path when interrupted execution.
Adding the parenthesis in this code protecting the cd fixed this issue.
Make sure to update Linux-Auto-Customizer repository folder in chatGPT_feature branch:
git pull
To refresh the changes.
Save your .env file with the API key in a safe place before re-install so you don't lose it, and paste it back after the installation. With a copy of .env file in safe place, now you can try to reinstall the feature, to do so re-run the install.sh script as you did the first time after pulling the last changes from the repository.
After the git pull
command, run again:
bash src/core/install.sh -v -o -f chatGPT
Paste back the .env file in ~/.customizer/bin/chatGPT/Content/Python/chatBot directory and everything should work fine now.
Thanks a lot for letting me know and for the help in test!!
Great Axlfc! I tested and it was fixed. Keep going use it.
Hey Axlfc, Find another behavior to fix I guess. I follow the Content instalation. So when I call chatGPT from terminal everything goes fine. But when I'm exit with it changes my terminal prompt from the folder I'm in to chatGPT/Content/Python/chatGPT.