Skip to content

HTTPError: 401 Client Error: Unauthorized for url: https://api.openai.com/v1/completions #33

Closed Answered by kid-gorgeous
TouchstoneTheDev asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya, I've ran into the same problem, and maybe I can help with the situation?

I had to make sure one I messed this up that I removed all traces of Shell GPT.
I removed all related packages from (they are labeled accordingly)

/Users/<user>/Library/Python/3.11/lib/python/site-packages
^ I also noticed and api_key.txt here, but I think its been removed..

Then, I noticed after a clean installation, that the same api string was still being used. After some looking around, I found my .config file.. You must either edit this, or completely delete it and start fresh :)

If you would like to remove it, use ls -a, and open your .config directory. It is a hidden directory. From here you will see t…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@TouchstoneTheDev
Comment options

@TouchstoneTheDev
Comment options

@TheR1D
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by TheR1D
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants