mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Indicated support of message history in ChatgptX.py
This commit is contained in:
parent
63ae5bb2cd
commit
dc798b520d
@ -12,6 +12,7 @@ from .helper import format_prompt
|
|||||||
class ChatgptX(AsyncGeneratorProvider):
|
class ChatgptX(AsyncGeneratorProvider):
|
||||||
url = "https://chatgptx.de"
|
url = "https://chatgptx.de"
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
supports_message_history = True
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -96,4 +97,4 @@ class ChatgptX(AsyncGeneratorProvider):
|
|||||||
except:
|
except:
|
||||||
raise RuntimeError(f"Broken line: {line.decode()}")
|
raise RuntimeError(f"Broken line: {line.decode()}")
|
||||||
if content:
|
if content:
|
||||||
yield content
|
yield content
|
||||||
|
Loading…
Reference in New Issue
Block a user