mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Merge pull request #1149 from Luneye/patch-4
[suggestion] Adding new parameter to check if a provider 'natively' supports mesage history
This commit is contained in:
commit
a167970d76
@ -32,6 +32,7 @@ default_cookies = {
|
||||
class Bing(AsyncGeneratorProvider):
|
||||
url = "https://bing.com/chat"
|
||||
working = True
|
||||
supports_message_history = True
|
||||
supports_gpt_4 = True
|
||||
|
||||
@staticmethod
|
||||
|
@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
|
||||
class ChatBase(AsyncGeneratorProvider):
|
||||
url = "https://www.chatbase.co"
|
||||
supports_gpt_35_turbo = True
|
||||
supports_message_history = True
|
||||
working = True
|
||||
list_incorrect_responses = ["Hmm, I am not sure. Email support@chatbase.co for more info.",
|
||||
"I can only provide support and information about Chatbase"]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -10,6 +10,7 @@ from .helper import format_prompt
|
||||
|
||||
class FakeGpt(AsyncGeneratorProvider):
|
||||
url = "https://chat-shared2.zhile.io"
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
working = True
|
||||
_access_token = None
|
||||
|
@ -12,6 +12,7 @@ domains = [
|
||||
|
||||
class FreeGpt(AsyncGeneratorProvider):
|
||||
url = "https://freegpts1.aifree.site/"
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
working = True
|
||||
|
||||
|
@ -11,6 +11,7 @@ from .helper import format_prompt
|
||||
class GPTalk(AsyncGeneratorProvider):
|
||||
url = "https://gptalk.net"
|
||||
supports_gpt_35_turbo = True
|
||||
supports_message_history = True
|
||||
working = True
|
||||
_auth = None
|
||||
|
||||
|
@ -9,6 +9,7 @@ from .helper import format_prompt
|
||||
|
||||
class GptForLove(AsyncGeneratorProvider):
|
||||
url = "https://ai18.gptforlove.com"
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
working = True
|
||||
|
||||
|
@ -10,6 +10,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
|
||||
class You(AsyncGeneratorProvider):
|
||||
url = "https://you.com"
|
||||
working = True
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
|
||||
|
||||
|
@ -10,6 +10,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
|
||||
class Yqcloud(AsyncGeneratorProvider):
|
||||
url = "https://chat9.yqcloud.top/"
|
||||
working = True
|
||||
supports_message_history = True
|
||||
supports_gpt_35_turbo = True
|
||||
|
||||
@staticmethod
|
||||
|
@ -15,6 +15,7 @@ class BaseProvider(ABC):
|
||||
supports_stream: bool = False
|
||||
supports_gpt_35_turbo: bool = False
|
||||
supports_gpt_4: bool = False
|
||||
supports_message_history: bool = False
|
||||
|
||||
@staticmethod
|
||||
@abstractmethod
|
||||
|
Loading…
Reference in New Issue
Block a user