summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2024-04-16 12:28:54 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2024-04-16 12:28:54 +0200
commit8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee (patch)
tree7905ffce61e78a7728aa8005984dc31b8ee0b0d1 /g4f/models.py
parentadd examples folder (diff)
downloadgpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar.gz
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar.bz2
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar.lz
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar.xz
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.tar.zst
gpt4free-8ec942040ceeb1dd9c7aab3cc52cd8223066a9ee.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py3
1 files changed, 2 insertions, 1 deletions
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: