summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorrkihacker <rkihacker@gmail.com>2024-11-03 20:19:02 +0100
committerGitHub <noreply@github.com>2024-11-03 20:19:02 +0100
commitde5793a8e132c6309c540291918d7bf3077358ae (patch)
tree9a97792d0391205aa27ceafd0200477f66acc23d /g4f/Provider
parentUpdate (g4f/Provider/Blackbox.py) (diff)
downloadgpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar.gz
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar.bz2
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar.lz
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar.xz
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.tar.zst
gpt4free-de5793a8e132c6309c540291918d7bf3077358ae.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/Blackbox.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py
index e5c455d4..ffd6890f 100644
--- a/g4f/Provider/Blackbox.py
+++ b/g4f/Provider/Blackbox.py
@@ -33,6 +33,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
"gemini-1.5-flash": {'mode': True, 'id': 'Gemini'},
"llama-3.1-8b": {'mode': True, 'id': "llama-3.1-8b"},
'llama-3.1-70b': {'mode': True, 'id': "llama-3.1-70b"},
+ 'llama-3.1-405b': {'mode': True, 'id': "llama-3.1-405"},
#
'Python Agent': {'mode': True, 'id': "Python Agent"},
'Java Agent': {'mode': True, 'id': "Java Agent"},
@@ -70,7 +71,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
'builder Agent': {'mode': True, 'id': "builder Agent"},
}
- model_prefixes = {mode: f"@{value['id']}" for mode, value in trendingAgentMode.items() if mode not in ["gemini-1.5-flash", "llama-3.1-8b", "llama-3.1-70b", "repomap"]}
+ model_prefixes = {mode: f"@{value['id']}" for mode, value in trendingAgentMode.items() if mode not in ["gemini-1.5-flash", "llama-3.1-8b", "llama-3.1-70b", "llama-3.1-405b", "repomap"]}
models = [default_model, *userSelectedModel, *list(agentMode.keys()), *list(trendingAgentMode.keys())]