Merge pull request #1176 from hlohaus/history

Update config supports_message_history
This commit is contained in:
Heiner Lohaus 2023-10-27 23:00:46 +02:00 committed by GitHub
commit af17c23f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 56 additions and 47 deletions

View File

@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
class Acytoo(AsyncGeneratorProvider):
url = 'https://chat.acytoo.com'
working = False
supports_message_history = True
supports_gpt_35_turbo = True
@classmethod

View File

@ -6,6 +6,7 @@ from .base_provider import AsyncGeneratorProvider
class AiAsk(AsyncGeneratorProvider):
url = "https://e.aiask.me"
supports_message_history = True
supports_gpt_35_turbo = True
working = True

View File

@ -9,9 +9,10 @@ from .base_provider import AsyncGeneratorProvider
class Aibn(AsyncGeneratorProvider):
url = "https://aibn.cc"
url = "https://aibn.cc"
working = False
supports_message_history = True
supports_gpt_35_turbo = True
working = False
@classmethod
async def create_async_generator(

View File

@ -12,8 +12,9 @@ from .base_provider import AsyncGeneratorProvider
class Ails(AsyncGeneratorProvider):
url: str = "https://ai.ls"
working = False
url = "https://ai.ls"
working = False
supports_message_history = True
supports_gpt_35_turbo = True
@staticmethod

View File

@ -30,10 +30,10 @@ default_cookies = {
}
class Bing(AsyncGeneratorProvider):
url = "https://bing.com/chat"
working = True
url = "https://bing.com/chat"
working = True
supports_message_history = True
supports_gpt_4 = True
supports_gpt_4 = True
@staticmethod
def create_async_generator(

View File

@ -7,12 +7,11 @@ from .base_provider import AsyncGeneratorProvider
class ChatBase(AsyncGeneratorProvider):
url = "https://www.chatbase.co"
url = "https://www.chatbase.co"
supports_gpt_35_turbo = True
supports_message_history = True
working = True
list_incorrect_responses = ["support@chatbase",
"about Chatbase"]
working = True
list_incorrect_responses = ["support@chatbase", "about Chatbase"]
@classmethod
async def create_async_generator(

View File

@ -9,8 +9,8 @@ from .base_provider import AsyncGeneratorProvider
class ChatForAi(AsyncGeneratorProvider):
url = "https://chatforai.store"
working = True
url = "https://chatforai.store"
working = True
supports_message_history = True
supports_gpt_35_turbo = True

View File

@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
class Chatgpt4Online(AsyncGeneratorProvider):
url = "https://chatgpt4online.org"
url = "https://chatgpt4online.org"
supports_message_history = True
supports_gpt_35_turbo = True
working = False
working = False
@classmethod
async def create_async_generator(

View File

@ -8,8 +8,9 @@ from .base_provider import AsyncGeneratorProvider
class ChatgptAi(AsyncGeneratorProvider):
url: str = "https://chatgpt.ai"
url = "https://chatgpt.ai"
working = True
supports_message_history = True
supports_gpt_35_turbo = True
_system = None

View File

@ -12,7 +12,6 @@ from .helper import format_prompt
class ChatgptX(AsyncGeneratorProvider):
url = "https://chatgptx.de"
supports_gpt_35_turbo = True
supports_message_history = True
working = True
@classmethod

View File

@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
class DeepInfra(AsyncGeneratorProvider):
url = "https://deepinfra.com"
supports_message_history = True
working = True
@classmethod

View File

@ -10,11 +10,10 @@ 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
_cookie_jar = None
_cookie_jar = None
@classmethod
async def create_async_generator(

View File

@ -11,10 +11,10 @@ domains = [
]
class FreeGpt(AsyncGeneratorProvider):
url = "https://freegpts1.aifree.site/"
url = "https://freegpts1.aifree.site/"
working = True
supports_message_history = True
supports_gpt_35_turbo = True
working = True
@classmethod
async def create_async_generator(

View File

@ -10,9 +10,8 @@ from .helper import format_prompt
class GPTalk(AsyncGeneratorProvider):
url = "https://gptalk.net"
supports_gpt_35_turbo = True
supports_message_history = True
working = True
supports_gpt_35_turbo = True
_auth = None
@classmethod

View File

@ -7,11 +7,12 @@ from json import dumps
class GeekGpt(BaseProvider):
url = 'https://chat.geekgpt.org'
supports_stream = True
working = True
url = 'https://chat.geekgpt.org'
working = True
supports_message_history = True
supports_stream = True
supports_gpt_35_turbo = True
supports_gpt_4 = True
supports_gpt_4 = True
@classmethod
def create_completion(

View File

@ -9,10 +9,11 @@ from .helper import get_cookies
class GptChatly(AsyncProvider):
url = "https://gptchatly.com"
url = "https://gptchatly.com"
working = True
supports_message_history = True
supports_gpt_35_turbo = True
supports_gpt_4 = True
working = True
supports_gpt_4 = True
@classmethod
async def create_async(

View File

@ -9,9 +9,8 @@ from .helper import format_prompt
class GptForLove(AsyncGeneratorProvider):
url = "https://ai18.gptforlove.com"
supports_message_history = True
supports_gpt_35_turbo = True
working = True
supports_gpt_35_turbo = True
@classmethod
async def create_async_generator(

View File

@ -13,8 +13,9 @@ class SearchTypes():
class Hashnode(AsyncGeneratorProvider):
url = "https://hashnode.com"
supports_gpt_35_turbo = True
working = True
supports_message_history = True
supports_gpt_35_turbo = True
_sources = []
@classmethod

View File

@ -31,6 +31,7 @@ models = {
class Liaobots(AsyncGeneratorProvider):
url = "https://liaobots.site"
working = True
supports_message_history = True
supports_gpt_35_turbo = True
supports_gpt_4 = True
_auth_code = None

View File

@ -13,8 +13,9 @@ models = {
}
class Llama2(AsyncGeneratorProvider):
url = "https://www.llama2.ai"
working = True
url = "https://www.llama2.ai"
working = True
supports_message_history = True
@classmethod
async def create_async_generator(

View File

@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
class NoowAi(AsyncGeneratorProvider):
url = "https://noowai.com"
url = "https://noowai.com"
supports_message_history = True
supports_gpt_35_turbo = True
working = True
working = True
@classmethod
async def create_async_generator(

View File

@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
class Opchatgpts(AsyncGeneratorProvider):
url = "https://opchatgpts.net"
url = "https://opchatgpts.net"
working = False
supports_message_history = True
supports_gpt_35_turbo = True
working = False
@classmethod
async def create_async_generator(

View File

@ -9,9 +9,10 @@ from ..debug import logging
class Vercel(BaseProvider):
url = 'https://sdk.vercel.ai'
working = True
working = True
supports_message_history = True
supports_gpt_35_turbo = True
supports_stream = True
supports_stream = True
@staticmethod
def create_completion(

View File

@ -7,8 +7,9 @@ from .base_provider import AsyncGeneratorProvider
from ..typing import AsyncResult, Messages
class Ylokh(AsyncGeneratorProvider):
url = "https://chat.ylokh.xyz"
working = False
url = "https://chat.ylokh.xyz"
working = False
supports_message_history = True
supports_gpt_35_turbo = True

View File

@ -10,7 +10,6 @@ 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

View File

@ -10,7 +10,6 @@ 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

View File

@ -36,7 +36,7 @@ from .Vercel import Vercel
from .Ylokh import Ylokh
from .You import You
from .Yqcloud import Yqcloud
from .Geekgpt import GeekGpt
from .GeekGpt import GeekGpt
from .base_provider import BaseProvider, AsyncProvider, AsyncGeneratorProvider
from .retry_provider import RetryProvider
@ -111,7 +111,7 @@ class ProviderUtils:
'Ylokh': Ylokh,
'You': You,
'Yqcloud': Yqcloud,
'Geekgpt': GeekGpt,
'GeekGpt': GeekGpt,
'BaseProvider': BaseProvider,
'AsyncProvider': AsyncProvider,