From 0fb46d45927c1c7781f232a09244b5370e9a0ba5 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Fri, 6 Sep 2024 19:32:18 +0300 Subject: Adding a new provider with support for models --- g4f/models.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index 9cf70a14..fd50009c 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -7,6 +7,7 @@ from .Provider import ( AiChatOnline, Allyfy, Bing, + Bixin123, Blackbox, ChatGot, Chatgpt4Online, @@ -81,6 +82,7 @@ default = Model( ReplicateHome, Upstage, Blackbox, + Bixin123, ]) ) @@ -103,7 +105,7 @@ gpt_35_turbo = Model( name = 'gpt-3.5-turbo', base_provider = 'OpenAI', best_provider = IterListProvider([ - Allyfy, TwitterBio, Nexra, + Allyfy, TwitterBio, Nexra, Bixin123, ]) ) @@ -128,7 +130,7 @@ gpt_4_turbo = Model( name = 'gpt-4-turbo', base_provider = 'OpenAI', best_provider = IterListProvider([ - Nexra, Liaobots, Bing + Nexra, Bixin123, Liaobots, Bing ]) ) @@ -332,6 +334,12 @@ qwen_1_5_14b = Model( best_provider = IterListProvider([FreeChatgpt]) ) +qwen_turbo = Model( + name = 'qwen-turbo', + base_provider = 'Qwen', + best_provider = IterListProvider([Bixin123]) +) + ### Zhipu AI ### glm4_9b = Model( @@ -584,6 +592,7 @@ class ModelUtils: ### Qwen ### 'qwen-1.5-14b': qwen_1_5_14b, +'qwen-turbo': qwen_turbo, ### Zhipu AI ### -- cgit v1.2.3