From 8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:28:54 +0100 Subject: add cohere provider. --- g4f/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g4f/models.py') diff --git a/g4f/models.py b/g4f/models.py index ff8b3a9c..fe99958c 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -20,6 +20,7 @@ from .Provider import ( Vercel, Gemini, Koala, + Cohere, Bing, You, Pi, @@ -275,7 +276,7 @@ dbrx_instruct = Model( command_r_plus = Model( name = 'CohereForAI/c4ai-command-r-plus', base_provider = 'mistral', - best_provider = HuggingChat + best_provider = RetryProvider([HuggingChat, Cohere]) ) class ModelUtils: -- cgit v1.2.3