|
|
@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
|
|
|
|
class ChatBase(AsyncGeneratorProvider):
|
|
|
|
class ChatBase(AsyncGeneratorProvider):
|
|
|
|
url = "https://www.chatbase.co"
|
|
|
|
url = "https://www.chatbase.co"
|
|
|
|
supports_gpt_35_turbo = True
|
|
|
|
supports_gpt_35_turbo = True
|
|
|
|
|
|
|
|
supports_message_history = True
|
|
|
|
working = True
|
|
|
|
working = True
|
|
|
|
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
@classmethod
|
|
|
@ -53,4 +54,4 @@ class ChatBase(AsyncGeneratorProvider):
|
|
|
|
("stream", "bool"),
|
|
|
|
("stream", "bool"),
|
|
|
|
]
|
|
|
|
]
|
|
|
|
param = ", ".join([": ".join(p) for p in params])
|
|
|
|
param = ", ".join([": ".join(p) for p in params])
|
|
|
|
return f"g4f.provider.{cls.__name__} supports: ({param})"
|
|
|
|
return f"g4f.provider.{cls.__name__} supports: ({param})"
|
|
|
|