mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 00:29:27 -04:00
~
Conversion from str Provider to g4f.Provider
This commit is contained in:
parent
8a5c23f693
commit
1883d55147
@ -38,6 +38,68 @@ from .deprecated import *
|
||||
from .needs_auth import *
|
||||
from .unfinished import *
|
||||
|
||||
class ProviderUtils:
|
||||
convert: dict[str, BaseProvider] = {
|
||||
'AItianhu': AItianhu,
|
||||
'AItianhuSpace': AItianhuSpace,
|
||||
'Acytoo': Acytoo,
|
||||
'AiAsk': AiAsk,
|
||||
'AiService': AiService,
|
||||
'Aibn': Aibn,
|
||||
'Aichat': Aichat,
|
||||
'Ails': Ails,
|
||||
'Aivvm': Aivvm,
|
||||
'AsyncGeneratorProvider': AsyncGeneratorProvider,
|
||||
'AsyncProvider': AsyncProvider,
|
||||
'Bard': Bard,
|
||||
'BaseProvider': BaseProvider,
|
||||
'Bing': Bing,
|
||||
'ChatBase': ChatBase,
|
||||
'ChatForAi': ChatForAi,
|
||||
'Chatgpt4Online': Chatgpt4Online,
|
||||
'ChatgptAi': ChatgptAi,
|
||||
'ChatgptDemo': ChatgptDemo,
|
||||
'ChatgptDuo': ChatgptDuo,
|
||||
'ChatgptLogin': ChatgptLogin,
|
||||
'ChatgptX': ChatgptX,
|
||||
'CodeLinkAva': CodeLinkAva,
|
||||
'Cromicle': Cromicle,
|
||||
'DeepAi': DeepAi,
|
||||
'DfeHub': DfeHub,
|
||||
'EasyChat': EasyChat,
|
||||
'Equing': Equing,
|
||||
'FastGpt': FastGpt,
|
||||
'Forefront': Forefront,
|
||||
'FreeGpt': FreeGpt,
|
||||
'GPTalk': GPTalk,
|
||||
'GetGpt': GetGpt,
|
||||
'GptForLove': GptForLove,
|
||||
'GptGo': GptGo,
|
||||
'GptGod': GptGod,
|
||||
'H2o': H2o,
|
||||
'HuggingChat': HuggingChat,
|
||||
'Komo': Komo,
|
||||
'Liaobots': Liaobots,
|
||||
'Lockchat': Lockchat,
|
||||
'MikuChat': MikuChat,
|
||||
'Myshell': Myshell,
|
||||
'Opchatgpts': Opchatgpts,
|
||||
'OpenAssistant': OpenAssistant,
|
||||
'OpenaiChat': OpenaiChat,
|
||||
'PerplexityAi': PerplexityAi,
|
||||
'Phind': Phind,
|
||||
'Raycast': Raycast,
|
||||
'Theb': Theb,
|
||||
'V50': V50,
|
||||
'Vercel': Vercel,
|
||||
'Vitalentum': Vitalentum,
|
||||
'Wewordle': Wewordle,
|
||||
'Wuguokai': Wuguokai,
|
||||
'Ylokh': Ylokh,
|
||||
'You': You,
|
||||
'Yqcloud': Yqcloud
|
||||
}
|
||||
|
||||
__all__ = [
|
||||
'BaseProvider',
|
||||
'AsyncProvider',
|
||||
|
Loading…
Reference in New Issue
Block a user