diff options
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 13 |
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', |