wechat-chatgpt 设置了 NOPECHA_KEY 和 CAPTCHA_TOKEN 依然显示 API error

ffvjumwh  于 2023-02-16  发布在  其他
关注(0)|答案(6)|浏览(424)

Start GPT Bot Config is:{"chatGPTAccountPool":[{"email":" xxxxxx@qq.com ","password":"xxxxxxx","isGoogleLogin":false}],"chatGptRetryTimes":3,"chatPrivateTiggerKeyword":"ai"}
uncaughtException Error: Command failed with exit code 1: sh -c poetry run python3 src/generate_session.py xxxxxx@qq.com xxxxxxx
Traceback (most recent call last):
File "/app/src/generate_session.py", line 50, in
print(login(args.email, args.password))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/generate_session.py", line 19, in login
chatbot = Chatbot(
^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 62, in init
self.refresh_session()
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 296, in refresh_session
raise exc
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 293, in refresh_session
self.login(self.config["email"], self.config["password"])
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 326, in login
raise exc
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 319, in login
auth.begin()
File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/OpenAIAuth/OpenAIAuth.py", line 90, in begin
raise Exception("API error")
Exception: API error

账号密码部分以xxxxxxx隐藏

6qfn3psc

6qfn3psc5#

same error

Start GPT Bot Config is:{"chatGPTAccountPool":[{"email":" xxxxxx@qq.com ","password":"xxxxxxx","isGoogleLogin":false}],"chatGptRetryTimes":3,"chatPrivateTiggerKeyword":"ai"} uncaughtException Error: Command failed with exit code 1: sh -c poetry run python3 src/generate_session.py xxxxxx@qq.com xxxxxxx Traceback (most recent call last): File "/app/src/generate_session.py", line 50, in print(login(args.email, args.password)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/src/generate_session.py", line 19, in login chatbot = Chatbot( ^^^^^^^^ File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 62, in init self.refresh_session() File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 296, in refresh_session raise exc File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 293, in refresh_session self.login(self.config["email"], self.config["password"]) File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 326, in login raise exc File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 319, in login auth.begin() File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/OpenAIAuth/OpenAIAuth.py", line 90, in begin raise Exception("API error") Exception: API error

账号密码部分以xxxxxxx隐藏

这个 NOPECHA_KEY 和 CAPTCHA_TOKEN 如何设置

相关问题