Closed XenocodeRCE closed 7 months ago
the same error:
wbc interactive 13:34.11 Fri Feb 23 2024 >>> ╭─────────────────────────────────── WebChatGPT v0.2.9 ────────────────────────────────────╮ │ │ │ Repo : https://github.com/Simatwa/WebChatGPT │ │ By : Smartwa │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ Welcome to Reverse Engineering of ChatGPT Web-version. Type help
or h for general help info. ┌─ ~~~@WebChatGPT └──╼ ❯❯❯hello 13:34:28 - ERROR : Expecting value: line 1 column 1 (char 0) ┌─~~~@WebChatGPT └──╼ ❯❯❯
As it stands the SDK is very unreliable. This happens due to the fact that I've limited info on how the responses are generated using the http and websocket protocols interchangeably. That's why you would find at times you get the response just as expected and then next time an exception is raised. So overcoming that is a kinda a problem at the moment, but I'm full of hopes that it gonna get a fix just in if not on time.
maybe allow us to Verbose ? So we can see whats wrong. I suspect here that the returned data is simply not JSON. Also OpenAI added a little chall on the ChatGpt website to prevent bots, maybe it has to do with it ?
As for verbose, I implemented that for websocket using the trace
parameter:
bot = ChatGPT("<path-to-cookies>", trace=True)
Regarding bot mitigation on the site, it is likely that they made some changes, which is why the old implementation is no longer effective.
i have the same problem
Greeting folks. The old implementation that doesn't rely on websocket is back. So the recent release is very reliable. Thanks for your great concerns and patience.
Code
Error