Open Shuangcheng-Ni opened 1 year ago
Yup, they put a Cloudflare anti-DDOS frontend. I think we have to resort to Selenium-like trickeries to be able to bypass it…
Good luck. Needles to say a command line chatGPT is a game changer. Salute
The same problem. Maybe can use the methods applied in this repo https://github.com/acheong08/ChatGPT, which is great enough for terminal use with xvfb. But that one does not contain a good tui so I hope this project can continue improving.
I'm aware of this problem. I'll try to make it work in a day or so.
I made it works, but I need to test it and adapt to the CLI. Unfortunately, ChatGPT is currently overloaded, so I have to pause my work.
My changes from yesterday don't work anymore. It's really time consuming to keep it up to date with OpenAI's changes and I can't afford it. I'm thinking about archiving the repository. If someone wants to contribute or start working on this project, feel free to do so.
My changes from yesterday don't work anymore. It's really time consuming to keep it up to date with OpenAI's changes and I can't afford it. I'm thinking about archiving the repository. If someone wants to contribute or start working on this project, feel free to do so.
I've found a repository that still works. It resorts to playwright trickeries to bypass the Cloudflare frontend. Maybe you can refer to it.
chatgpt-api version: 0.2.1
My code:
The exception it causes:
It seems that the chatgpt server has upgraded its security policy, which might cause authentication failure.