From 4cd1ed1a71ded59fb18d60a45c655e711200480a Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Thu, 17 Oct 2024 15:44:27 +0300 Subject: Added new provider (g4f/Provider/Ai4Chat.py) --- g4f/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index 1e80a924..e84f9103 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -5,6 +5,7 @@ from dataclasses import dataclass from .Provider import IterListProvider, ProviderType from .Provider import ( + Ai4Chat, AIChatFree, AiMathGPT, Airforce, @@ -104,6 +105,9 @@ default = Model( AmigoChat, ChatifyAI, Cloudflare, + Ai4Chat, + Editee, + AiMathGPT, ]) ) @@ -148,7 +152,7 @@ gpt_4_turbo = Model( gpt_4 = Model( name = 'gpt-4', base_provider = 'OpenAI', - best_provider = IterListProvider([NexraChatGPT, NexraChatGptV2, NexraChatGptWeb, Airforce, Chatgpt4Online, Bing, OpenaiChat]) + best_provider = IterListProvider([NexraChatGPT, NexraChatGptV2, NexraChatGptWeb, Ai4Chat, Airforce, Chatgpt4Online, Bing, OpenaiChat]) ) # o1 -- cgit v1.2.3