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

XFEstudio/gpt4free

fix for DDG Update Meta model #2145

3a957beb
zukixa <56563509+zukixa@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -3
Modified g4f/Provider/DDG.py +2 -3
@@ -18,14 +18,13 @@ class DDG(AsyncGeneratorProvider, ProviderModelMixin):
18 18 supports_gpt_35_turbo = True
19 19 supports_message_history = True
20 20
21 # default_model = "gpt-3.5-turbo-0125"
22 21 default_model = "gpt-4o-mini"
23 models = ["gpt-4o-mini", "claude-3-haiku-20240307", "meta-llama/Llama-3-70b-chat-hf", "mistralai/Mixtral-8x7B-Instruct-v0.1"]
22 models = ["gpt-4o-mini", "claude-3-haiku-20240307", "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo", "mistralai/Mixtral-8x7B-Instruct-v0.1"]
24 23 model_aliases = {
25 24 "gpt-4": "gpt-4o-mini",
26 25 "gpt-4o": "gpt-4o-mini",
27 26 "claude-3-haiku": "claude-3-haiku-20240307",
28 "llama-3-70b": "meta-llama/Llama-3-70b-chat-hf",
27 "llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
29 28 "mixtral-8x7B": "mistralai/Mixtral-8x7B-Instruct-v0.1"
30 29 }
31 30