OpenAIAuth.__init__() got an unexpected keyword argument 'cf_clearance'
edbighead opened this issue · comments
Ed Laur commented
Getting the following error, probably related to cfb9a17
Traceback (most recent call last):
File "/code/project/slack.py", line 16, in <module>
chatbot = Chatbot(config, conversation_id=None)
File "/code/project/slack.py-ggXW00PY/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 96, in __init__
self.refresh_session()
File "/code/project/slack.py-ggXW00PY/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 352, in refresh_session
raise exc
File "/code/project/slack.py-ggXW00PY/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 349, in refresh_session
self.login(self.config["email"], self.config["password"])
File "/code/project/slack.py-ggXW00PY/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 375, in login
auth = OpenAIAuth(email, password, use_proxy=bool(
TypeError: OpenAIAuth.__init__() got an unexpected keyword argument 'cf_clearance'
Antonio Cheong commented
You have to set cf_clearance now. It's due to acheong08/ChatGPT#261 (comment)
Ed Laur commented
You have to set cf_clearance now. It's due to acheong08/ChatGPT#261 (comment)
set where exactly?
Antonio Cheong commented
In the config: See https://github.com/acheong08/ChatGPT/wiki/Setup
Ed Laur commented
In the config: See https://github.com/acheong08/ChatGPT/wiki/Setup
thanks, wasn't following the development during the weekend. Looks like cookie is the only available auth for now