ChatGPT_PyBot icon indicating copy to clipboard operation
ChatGPT_PyBot copied to clipboard

请问一下现在这个还能用吗?session_token和邮箱密码都报错

Open IIRtyj opened this issue 2 years ago • 4 comments
trafficstars

截屏2022-12-13 14 05 26 截屏2022-12-13 14 07 14 终端代理已经配置好了,但还是不行 截屏2022-12-13 14 08 52 用python出现报错,应该也是登陆那块的问题

IIRtyj avatar Dec 13 '22 06:12 IIRtyj

今天, OPENAI 修改了登录验证的方式,新的登录验证方法正在尝试

liuhuanshuo avatar Dec 13 '22 06:12 liuhuanshuo

@liuhuanshuo 认证方式有办法修复吗?

jeffzhengye avatar Dec 15 '22 02:12 jeffzhengye

和上面图片一样也是登录报错

Zcb991 avatar Dec 21 '22 11:12 Zcb991

Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from ChatGPT_PyBot import ChatBot
>>> config = {"email":"[email protected]","password":"P0VsflC8"}
>>> chatbot = ChatBot(config, conversation_id=None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\yanshiqwq\AppData\Local\Programs\Python\Python38\lib\site-packages\ChatGPT_PyBot\chatgpt.py", line 36, in __init__
    self.refresh_session()
  File "C:\Users\yanshiqwq\AppData\Local\Programs\Python\Python38\lib\site-packages\ChatGPT_PyBot\chatgpt.py", line 241, in refresh_session
    raise exc
  File "C:\Users\yanshiqwq\AppData\Local\Programs\Python\Python38\lib\site-packages\ChatGPT_PyBot\chatgpt.py", line 238, in refresh_session
    self.login(self.config["email"], self.config["password"])
  File "C:\Users\yanshiqwq\AppData\Local\Programs\Python\Python38\lib\site-packages\ChatGPT_PyBot\chatgpt.py", line 256, in login
    auth = OpenAIAuth(email, password, use_proxy, proxy, debug=self.debug)
TypeError: __init__() got multiple values for argument 'debug'

yanshiqwq avatar Mar 05 '23 03:03 yanshiqwq