You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
I try to test a customized CHATGPT_BASE_URL for V1 using the reverse-proxyhttps://api.pawan.krd/backend-api as follows, but failed:
$ CHATGPT_BASE_URL=https://api.pawan.krd/backend-apipython3-mrevChatGPT.V1ChatGPT-Acommand-lineinterfacetoOpenAI'sChatGPT (https://chat.openai.com/chat)
Repo: github.com/acheong08/ChatGPTType'!help'toshowafulllistofcommandsPressEscfollowedbyEnterorAlt+Entertosendamessage.
You:
Hello.
Chatbot:
{"status":false,"error":"Invalid API key","hint":"You can get an API key from https://discord.pawan.krd","info":"https://gist.github.com/PawanOsman/72dddd0a12e5829da664a43fc9b9cf9a","support":"https://discord.pawan.krd"}
Traceback (mostrecentcalllast):
File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line962, inmainfordatainchatbot.ask(prompt):
File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line449, inaskself.__check_response(response)
File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line58, inwrapperout=func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line557, in__check_responseraiseerrorrevChatGPT.typings.Error: OpenAI: {"status":false,"error":"Invalid API key","hint":"You can get an API key from https://discord.pawan.krd","info":"https://gist.github.com/PawanOsman/72dddd0a12e5829da664a43fc9b9cf9a","support":"https://discord.pawan.krd"} (code: 400)
Pleasecheckthattheinputiscorrect, oryoucanresolvethisissuebyfilinganissueProjectURL: https://github.com/acheong08/ChatGPTTheaboveexceptionwasthedirectcauseofthefollowingexception:
Traceback (mostrecentcalllast):
File"<frozen runpy>", line198, in_run_module_as_mainFile"<frozen runpy>", line88, in_run_codeFile"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line986, in<module>main(configure())
File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line58, inwrapperout=func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^File"/home/werner/Public/repo/github.com/acheong08/ChatGPT.git/src/revChatGPT/V1.py", line972, inmainraiseerrorfromerevChatGPT.typings.CLIError: commandlineprogramunknownerrorPleasecheckthattheinputiscorrect, oryoucanresolvethisissuebyfilinganissueProjectURL: https://github.com/acheong08/ChatGPT
If I remember correctly, V1 doesn't support API key, so I wonder how to obtain the corresponding "access_token" for this alternative reverse proxy to make the configuration file for V1.
The text was updated successfully, but these errors were encountered:
I try to test a customized CHATGPT_BASE_URL for V1 using the reverse-proxy
https://api.pawan.krd/backend-api
as follows, but failed:If I remember correctly, V1 doesn't support
API key
, so I wonder how to obtain the corresponding "access_token" for this alternative reverse proxy to make the configuration file for V1.The text was updated successfully, but these errors were encountered: