mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update config supports_message_history
This commit is contained in:
parent
1e5a0eda1b
commit
79cf039a88
27 changed files with 56 additions and 47 deletions
|
|
@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
class Acytoo(AsyncGeneratorProvider):
|
class Acytoo(AsyncGeneratorProvider):
|
||||||
url = 'https://chat.acytoo.com'
|
url = 'https://chat.acytoo.com'
|
||||||
working = False
|
working = False
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
class AiAsk(AsyncGeneratorProvider):
|
class AiAsk(AsyncGeneratorProvider):
|
||||||
url = "https://e.aiask.me"
|
url = "https://e.aiask.me"
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,10 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class Aibn(AsyncGeneratorProvider):
|
class Aibn(AsyncGeneratorProvider):
|
||||||
url = "https://aibn.cc"
|
url = "https://aibn.cc"
|
||||||
|
working = False
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = False
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,9 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class Ails(AsyncGeneratorProvider):
|
class Ails(AsyncGeneratorProvider):
|
||||||
url: str = "https://ai.ls"
|
url = "https://ai.ls"
|
||||||
working = False
|
working = False
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,10 @@ default_cookies = {
|
||||||
}
|
}
|
||||||
|
|
||||||
class Bing(AsyncGeneratorProvider):
|
class Bing(AsyncGeneratorProvider):
|
||||||
url = "https://bing.com/chat"
|
url = "https://bing.com/chat"
|
||||||
working = True
|
working = True
|
||||||
supports_message_history = True
|
supports_message_history = True
|
||||||
supports_gpt_4 = True
|
supports_gpt_4 = True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def create_async_generator(
|
def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,11 @@ 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
|
supports_message_history = True
|
||||||
working = True
|
working = True
|
||||||
list_incorrect_responses = ["support@chatbase",
|
list_incorrect_responses = ["support@chatbase", "about Chatbase"]
|
||||||
"about Chatbase"]
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class ChatForAi(AsyncGeneratorProvider):
|
class ChatForAi(AsyncGeneratorProvider):
|
||||||
url = "https://chatforai.store"
|
url = "https://chatforai.store"
|
||||||
working = True
|
working = True
|
||||||
supports_message_history = True
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class Chatgpt4Online(AsyncGeneratorProvider):
|
class Chatgpt4Online(AsyncGeneratorProvider):
|
||||||
url = "https://chatgpt4online.org"
|
url = "https://chatgpt4online.org"
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = False
|
working = False
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,9 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class ChatgptAi(AsyncGeneratorProvider):
|
class ChatgptAi(AsyncGeneratorProvider):
|
||||||
url: str = "https://chatgpt.ai"
|
url = "https://chatgpt.ai"
|
||||||
working = True
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
_system = None
|
_system = None
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ from .helper import format_prompt
|
||||||
class ChatgptX(AsyncGeneratorProvider):
|
class ChatgptX(AsyncGeneratorProvider):
|
||||||
url = "https://chatgptx.de"
|
url = "https://chatgptx.de"
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
supports_message_history = True
|
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
class DeepInfra(AsyncGeneratorProvider):
|
class DeepInfra(AsyncGeneratorProvider):
|
||||||
url = "https://deepinfra.com"
|
url = "https://deepinfra.com"
|
||||||
|
supports_message_history = True
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,10 @@ from .helper import format_prompt
|
||||||
|
|
||||||
class FakeGpt(AsyncGeneratorProvider):
|
class FakeGpt(AsyncGeneratorProvider):
|
||||||
url = "https://chat-shared2.zhile.io"
|
url = "https://chat-shared2.zhile.io"
|
||||||
supports_message_history = True
|
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = True
|
working = True
|
||||||
_access_token = None
|
_access_token = None
|
||||||
_cookie_jar = None
|
_cookie_jar = None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@ domains = [
|
||||||
]
|
]
|
||||||
|
|
||||||
class FreeGpt(AsyncGeneratorProvider):
|
class FreeGpt(AsyncGeneratorProvider):
|
||||||
url = "https://freegpts1.aifree.site/"
|
url = "https://freegpts1.aifree.site/"
|
||||||
|
working = True
|
||||||
supports_message_history = True
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = True
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,8 @@ from .helper import format_prompt
|
||||||
|
|
||||||
class GPTalk(AsyncGeneratorProvider):
|
class GPTalk(AsyncGeneratorProvider):
|
||||||
url = "https://gptalk.net"
|
url = "https://gptalk.net"
|
||||||
supports_gpt_35_turbo = True
|
|
||||||
supports_message_history = True
|
|
||||||
working = True
|
working = True
|
||||||
|
supports_gpt_35_turbo = True
|
||||||
_auth = None
|
_auth = None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,12 @@ from json import dumps
|
||||||
|
|
||||||
|
|
||||||
class GeekGpt(BaseProvider):
|
class GeekGpt(BaseProvider):
|
||||||
url = 'https://chat.geekgpt.org'
|
url = 'https://chat.geekgpt.org'
|
||||||
supports_stream = True
|
working = True
|
||||||
working = True
|
supports_message_history = True
|
||||||
|
supports_stream = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
supports_gpt_4 = True
|
supports_gpt_4 = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_completion(
|
def create_completion(
|
||||||
|
|
@ -9,10 +9,11 @@ from .helper import get_cookies
|
||||||
|
|
||||||
|
|
||||||
class GptChatly(AsyncProvider):
|
class GptChatly(AsyncProvider):
|
||||||
url = "https://gptchatly.com"
|
url = "https://gptchatly.com"
|
||||||
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
supports_gpt_4 = True
|
supports_gpt_4 = True
|
||||||
working = True
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async(
|
async def create_async(
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,8 @@ from .helper import format_prompt
|
||||||
|
|
||||||
class GptForLove(AsyncGeneratorProvider):
|
class GptForLove(AsyncGeneratorProvider):
|
||||||
url = "https://ai18.gptforlove.com"
|
url = "https://ai18.gptforlove.com"
|
||||||
supports_message_history = True
|
|
||||||
supports_gpt_35_turbo = True
|
|
||||||
working = True
|
working = True
|
||||||
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,9 @@ class SearchTypes():
|
||||||
|
|
||||||
class Hashnode(AsyncGeneratorProvider):
|
class Hashnode(AsyncGeneratorProvider):
|
||||||
url = "https://hashnode.com"
|
url = "https://hashnode.com"
|
||||||
supports_gpt_35_turbo = True
|
|
||||||
working = True
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
|
supports_gpt_35_turbo = True
|
||||||
_sources = []
|
_sources = []
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ models = {
|
||||||
class Liaobots(AsyncGeneratorProvider):
|
class Liaobots(AsyncGeneratorProvider):
|
||||||
url = "https://liaobots.site"
|
url = "https://liaobots.site"
|
||||||
working = True
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
supports_gpt_4 = True
|
supports_gpt_4 = True
|
||||||
_auth_code = None
|
_auth_code = None
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,9 @@ models = {
|
||||||
}
|
}
|
||||||
|
|
||||||
class Llama2(AsyncGeneratorProvider):
|
class Llama2(AsyncGeneratorProvider):
|
||||||
url = "https://www.llama2.ai"
|
url = "https://www.llama2.ai"
|
||||||
working = True
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class NoowAi(AsyncGeneratorProvider):
|
class NoowAi(AsyncGeneratorProvider):
|
||||||
url = "https://noowai.com"
|
url = "https://noowai.com"
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = True
|
working = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,10 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
|
|
||||||
|
|
||||||
class Opchatgpts(AsyncGeneratorProvider):
|
class Opchatgpts(AsyncGeneratorProvider):
|
||||||
url = "https://opchatgpts.net"
|
url = "https://opchatgpts.net"
|
||||||
|
working = False
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
working = False
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def create_async_generator(
|
async def create_async_generator(
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,10 @@ from ..debug import logging
|
||||||
|
|
||||||
class Vercel(BaseProvider):
|
class Vercel(BaseProvider):
|
||||||
url = 'https://sdk.vercel.ai'
|
url = 'https://sdk.vercel.ai'
|
||||||
working = True
|
working = True
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
supports_stream = True
|
supports_stream = True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def create_completion(
|
def create_completion(
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,9 @@ from .base_provider import AsyncGeneratorProvider
|
||||||
from ..typing import AsyncResult, Messages
|
from ..typing import AsyncResult, Messages
|
||||||
|
|
||||||
class Ylokh(AsyncGeneratorProvider):
|
class Ylokh(AsyncGeneratorProvider):
|
||||||
url = "https://chat.ylokh.xyz"
|
url = "https://chat.ylokh.xyz"
|
||||||
working = False
|
working = False
|
||||||
|
supports_message_history = True
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
|
||||||
class You(AsyncGeneratorProvider):
|
class You(AsyncGeneratorProvider):
|
||||||
url = "https://you.com"
|
url = "https://you.com"
|
||||||
working = True
|
working = True
|
||||||
supports_message_history = True
|
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ from .base_provider import AsyncGeneratorProvider, format_prompt
|
||||||
class Yqcloud(AsyncGeneratorProvider):
|
class Yqcloud(AsyncGeneratorProvider):
|
||||||
url = "https://chat9.yqcloud.top/"
|
url = "https://chat9.yqcloud.top/"
|
||||||
working = True
|
working = True
|
||||||
supports_message_history = True
|
|
||||||
supports_gpt_35_turbo = True
|
supports_gpt_35_turbo = True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ from .Vercel import Vercel
|
||||||
from .Ylokh import Ylokh
|
from .Ylokh import Ylokh
|
||||||
from .You import You
|
from .You import You
|
||||||
from .Yqcloud import Yqcloud
|
from .Yqcloud import Yqcloud
|
||||||
from .Geekgpt import GeekGpt
|
from .GeekGpt import GeekGpt
|
||||||
|
|
||||||
from .base_provider import BaseProvider, AsyncProvider, AsyncGeneratorProvider
|
from .base_provider import BaseProvider, AsyncProvider, AsyncGeneratorProvider
|
||||||
from .retry_provider import RetryProvider
|
from .retry_provider import RetryProvider
|
||||||
|
|
@ -111,7 +111,7 @@ class ProviderUtils:
|
||||||
'Ylokh': Ylokh,
|
'Ylokh': Ylokh,
|
||||||
'You': You,
|
'You': You,
|
||||||
'Yqcloud': Yqcloud,
|
'Yqcloud': Yqcloud,
|
||||||
'Geekgpt': GeekGpt,
|
'GeekGpt': GeekGpt,
|
||||||
|
|
||||||
'BaseProvider': BaseProvider,
|
'BaseProvider': BaseProvider,
|
||||||
'AsyncProvider': AsyncProvider,
|
'AsyncProvider': AsyncProvider,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue