Indicated support of message history in ChatgptX.py

This commit is contained in:
Luneye 2023-10-24 23:30:07 +02:00 committed by GitHub
parent 63ae5bb2cd
commit dc798b520d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ from .helper import format_prompt
class ChatgptX(AsyncGeneratorProvider):
url = "https://chatgptx.de"
supports_gpt_35_turbo = True
supports_message_history = True
working = True
@classmethod
@ -96,4 +97,4 @@ class ChatgptX(AsyncGeneratorProvider):
except:
raise RuntimeError(f"Broken line: {line.decode()}")
if content:
yield content
yield content