From f74ca10fbdf2b565b654a3d54583194d32649bcf Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:56:53 +0100 Subject: ~ | g4f v-0.1.6.1 some bug fixes --- g4f/models.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index 08fe36b0..73e7e481 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -27,7 +27,6 @@ from .Provider import ( Bing, You, H2o, - Aivvm ) @dataclass(unsafe_hash=True) @@ -64,7 +63,7 @@ gpt_35_turbo = Model( name = 'gpt-3.5-turbo', base_provider = 'openai', best_provider = RetryProvider([ - Aivvm, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh + ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh ]) ) @@ -72,7 +71,7 @@ gpt_4 = Model( name = 'gpt-4', base_provider = 'openai', best_provider = RetryProvider([ - Aivvm, Bing + Bing ]) ) @@ -167,31 +166,31 @@ gpt_35_turbo_16k = Model( gpt_35_turbo_16k_0613 = Model( name = 'gpt-3.5-turbo-16k-0613', base_provider = 'openai', - best_provider = Aivvm + best_provider = gpt_35_turbo.best_provider ) gpt_35_turbo_0613 = Model( name = 'gpt-3.5-turbo-0613', base_provider = 'openai', - best_provider = Aivvm + best_provider = gpt_35_turbo.best_provider ) gpt_4_0613 = Model( name = 'gpt-4-0613', base_provider = 'openai', - best_provider = Aivvm + best_provider = gpt_4.best_provider ) gpt_4_32k = Model( name = 'gpt-4-32k', base_provider = 'openai', - best_provider = Aivvm + best_provider = gpt_4.best_provider ) gpt_4_32k_0613 = Model( name = 'gpt-4-32k-0613', base_provider = 'openai', - best_provider = Aivvm + best_provider = gpt_4.best_provider ) text_ada_001 = Model( -- cgit v1.2.3