summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-10 15:11:17 +0200
committerCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-10 15:11:17 +0200
commit9239c5720002f31b67bdd1ee805e2cd9b528d085 (patch)
treed48901a7bcce0cdac262f189b67fb5178542e4ce /g4f/models.py
parentfix provider thing in gui (diff)
downloadgpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar.gz
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar.bz2
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar.lz
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar.xz
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.tar.zst
gpt4free-9239c5720002f31b67bdd1ee805e2cd9b528d085.zip
Diffstat (limited to 'g4f/models.py')
-rw-r--r--g4f/models.py21
1 files changed, 14 insertions, 7 deletions
diff --git a/g4f/models.py b/g4f/models.py
index ced8e290..9be8f459 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -65,14 +65,16 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = RetryProvider([
- DeepAi, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
+ DeepAi, Aivvm, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
])
)
gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
- best_provider = Bing
+ best_provider = RetryProvider([
+ Aivvm, Bing
+ ])
)
# Bard
@@ -165,27 +167,32 @@ gpt_35_turbo_16k = Model(
gpt_35_turbo_16k_0613 = Model(
name = 'gpt-3.5-turbo-16k-0613',
- base_provider = 'openai')
+ base_provider = 'openai',
+ best_provider = Aivvm
+)
gpt_35_turbo_0613 = Model(
name = 'gpt-3.5-turbo-0613',
base_provider = 'openai',
- best_provider=Aivvm
+ best_provider = Aivvm
)
gpt_4_0613 = Model(
name = 'gpt-4-0613',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
gpt_4_32k = Model(
name = 'gpt-4-32k',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
gpt_4_32k_0613 = Model(
name = 'gpt-4-32k-0613',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
text_ada_001 = Model(