mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
Indicated support of message history in ChatForAi.py
This commit is contained in:
parent
dc798b520d
commit
7f6d85f861
@ -11,6 +11,7 @@ from .base_provider import AsyncGeneratorProvider
|
||||
class ChatForAi(AsyncGeneratorProvider):
|
||||
url = "https://chatforai.store"
|
||||
working = True
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
|
||||
@classmethod
|
||||
@ -69,4 +70,4 @@ class ChatForAi(AsyncGeneratorProvider):
|
||||
|
||||
def generate_signature(timestamp: int, message: str, id: str):
|
||||
buffer = f"{timestamp}:{id}:{message}:7YN8z6d6"
|
||||
return hashlib.sha256(buffer.encode()).hexdigest()
|
||||
return hashlib.sha256(buffer.encode()).hexdigest()
|
||||
|
Loading…
Reference in New Issue
Block a user