summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 20:53:31 +0200
committerCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 20:53:31 +0200
commit58c45522ea4f94f90c3ebbf350eba0b5715848ae (patch)
tree4d4a94c33fd41da0f2ab9c325df0f0274aa53c98 /g4f/models.py
parentMerge remote-tracking branch 'origin/main' (diff)
downloadgpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.gz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.bz2
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.lz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.xz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.zst
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py20
1 files changed, 14 insertions, 6 deletions
diff --git a/g4f/models.py b/g4f/models.py
index b4247703..aa2b3bd6 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -23,6 +23,7 @@ from .Provider import (
GptGod,
AiAsk,
GptGo,
+ Aivvm,
Ylokh,
Bard,
Aibn,
@@ -72,7 +73,9 @@ gpt_35_turbo = Model(
gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
- best_provider = Bing
+ best_provider = RetryProvider([
+ Aivvm, Bing
+ ])
)
# Bard
@@ -165,26 +168,31 @@ 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'
+ base_provider = 'openai',
+ 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(