4as / ChatGPT-DeMod

Tampermonkey/Greasemonkey script that hides the moderation results when communicating with ChatGPT.
GNU General Public License v2.0
420 stars 59 forks source link

JSON parse error when demod is enabled #42

Closed KanchiMoe closed 9 months ago

KanchiMoe commented 9 months ago

Browser: Firefox 122.0 (64-bit) OS: Windows 10 Demod version: 3.10

When Demod is enabled, it returns JSON.parse: unexpected end of data at line 1 column 1 of the JSON data is returned.

Regenerating the message produces the same error. If you refresh the page, you can see the content.

This only happens when Demod is enabled, on all messages.


Image is below:

image

The7thBlue commented 9 months ago

+1, it has been happening since day before yesterday. Might be something they updated

4as commented 9 months ago

OpenAI has changed how they deliver the response to the chat, so DeMod is now completely incompatible. I'll have to take a closer look at what exactly is happening and whether the response can still be intercepted, but for now simply disable DeMod as it's unusable in its current form.

TrollMasterr commented 9 months ago

just refreshing page in chrome/edge kinda fixes it. And in Kiwi browser on android nothing changed - it works same as it did before. idk why, just saying.

Navigator129 commented 9 months ago

just refreshing page in chrome/edge kinda fixes it. And in Kiwi browser on android nothing changed - it works same as it did before. idk why, just saying.

I tried but still doesn't work

4as commented 9 months ago

I released a new update to DeMod that hopefully fixes this issue. I'm closing it, and sorry for such a long wait.