summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-09-25 20:23:47 +0200
committerGitHub <noreply@github.com>2023-09-25 20:23:47 +0200
commit5bcc82ce1a59901c0be01d96fb049c7f589e7ec5 (patch)
tree440509180b2c0acda712e0c34d4d0b30617144a5 /g4f/models.py
parent~ | Merge pull request #936 from r1di/patch-1 (diff)
parentAdd Myshell Provider (diff)
downloadgpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.gz
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.bz2
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.lz
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.xz
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.zst
gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.zip
Diffstat (limited to 'g4f/models.py')
-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',