~ | Update Chatgpt4Online.py

clouldfare block on Chatgpt4Online
This commit is contained in:
Tekky 2024-01-23 12:41:07 +00:00 committed by GitHub
parent 9a6df0210a
commit 9705e7fc20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ class Chatgpt4Online(AsyncGeneratorProvider):
url = "https://chatgpt4online.org" url = "https://chatgpt4online.org"
supports_message_history = True supports_message_history = True
supports_gpt_35_turbo = True supports_gpt_35_turbo = True
working = True working = False # cloudfare block !
_wpnonce = None _wpnonce = None
@classmethod @classmethod
@ -73,4 +73,4 @@ class Chatgpt4Online(AsyncGeneratorProvider):
elif line["type"] == "live": elif line["type"] == "live":
yield line["data"] yield line["data"]
elif line["type"] == "end": elif line["type"] == "end":
break break