summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-09-25 15:52:19 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-09-25 15:52:19 +0200
commitf1b6880f7e996481650cdd4ec1e5173804ddc083 (patch)
treef5bab5bec2232e8b4ebc71213332e5614a940550 /g4f/models.py
parent~ (diff)
downloadgpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.gz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.bz2
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.lz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.xz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.zst
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 01b42106..5cf8d9e9 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -18,6 +18,7 @@ from .Provider import (
Yqcloud,
AItianhu,
Aichat,
+ Myshell,
)
@dataclass(unsafe_hash=True)
@@ -37,7 +38,7 @@ default = Model(
Wewordle, # Responds with markdown
Yqcloud, # Answers short questions in chinese
ChatBase, # Don't want to answer creatively
- DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat,
+ DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, Myshell,
])
)
@@ -46,7 +47,7 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = RetryProvider([
- DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat,
+ DeepAi, ChatgptLogin, ChatgptAi, Aivvm, GptGo, AItianhu, Aichat, Myshell,
])
)
@@ -54,7 +55,7 @@ gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
best_provider = RetryProvider([
- Aivvm
+ Aivvm, Myshell
])
)
@@ -153,8 +154,10 @@ gpt_35_turbo_16k_0613 = Model(
gpt_35_turbo_0613 = Model(
name = 'gpt-3.5-turbo-0613',
base_provider = 'openai',
- best_provider = [
- Aivvm, ChatgptLogin])
+ best_provider = RetryProvider([
+ Aivvm, ChatgptLogin
+ ])
+)
gpt_4_0613 = Model(
name = 'gpt-4-0613',