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 151 forks source link

Functionality Question #149

Open jagauthier opened 6 months ago

jagauthier commented 6 months ago

When I did an experiment I ran this script in two different terminal sessions. I gave Session A a prompt (something like 'write hello world in C') I gave Session B a prompt (now make it say Hello Universe)

Session B did not know what Session A asked. I'm wondering what mechanism of the API enabled this? I can't see to figure out any key identifier that handles sessions management.

I am planning on writing something as a daemon and have requests come in from different users. But I want to make sure the session information stays with the user, not the daemon.

Thanks for your knowledge