XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

update llama-3.1-405b

de5793a8
rkihacker <rkihacker@gmail.com>
提交于

代码差异

1 个文件 +2 -1
Modified g4f/Provider/Blackbox.py +2 -1
@@ -33,6 +33,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
33 33 "gemini-1.5-flash": {'mode': True, 'id': 'Gemini'},
34 34 "llama-3.1-8b": {'mode': True, 'id': "llama-3.1-8b"},
35 35 'llama-3.1-70b': {'mode': True, 'id': "llama-3.1-70b"},
36 'llama-3.1-405b': {'mode': True, 'id': "llama-3.1-405"},
36 37 #
37 38 'Python Agent': {'mode': True, 'id': "Python Agent"},
38 39 'Java Agent': {'mode': True, 'id': "Java Agent"},
@@ -70,7 +71,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
70 71 'builder Agent': {'mode': True, 'id': "builder Agent"},
71 72 }
72 73
73 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"]}
74 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"]}
74 75
75 76
76 77 models = [default_model, *userSelectedModel, *list(agentMode.keys()), *list(trendingAgentMode.keys())]