-
Notifications
You must be signed in to change notification settings - Fork 332
Error 404 despite having set CHATGPT_BASE_URL #48
Comments
|
Where are you getting this? |
Hey, thanks for the quicky reply! I am getting the error in the terminal of my Linux machine while trying to launch the Proxy. `administrator@administrator:~/go/bin$ ./ChatGPT-Proxy-V4 [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] GET /ping --> main.main.func2 (3 handlers) |
I'm sorry, I don't really understand what you mean by that. :( Basically, I want to use the GPT-4 API (I only have access to it via ChatGPT Plus) and it seemed to me like your repo would help achieve that. |
So, I exported the PUID and Access token via
export ACCESS_TOKEN="..." & export PUID="..."
in the repos' directory on my Linux machine.When starting the server, I get the ol' 404: Not found error.
@acheong08 suggested here that a CHATGPT_BASE_URL environment variable has to be set.
But no matter what I set as the value, I keep getting 404. I entered
export CHATGPT_BASE_URL="https://chat.openai.com/chat?model=gpt-4"
in the bin directory just like I did with the PUID and Access Token, but I got the same error. Changing the Base URL to chat.openai.com or different variations didn't help.Can someone - maybe hopefully @acheong08 themselves - help?
The text was updated successfully, but these errors were encountered: