From 3a957bebeb6bfce179b8d358388ce0941ac7e1a3 Mon Sep 17 00:00:00 2001 From: zukixa <56563509+zukixa@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:37:36 +0100 Subject: fix for DDG Update Meta model #2145 --- g4f/Provider/DDG.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/g4f/Provider/DDG.py b/g4f/Provider/DDG.py index 91ccde32..6146994b 100644 --- a/g4f/Provider/DDG.py +++ b/g4f/Provider/DDG.py @@ -18,14 +18,13 @@ class DDG(AsyncGeneratorProvider, ProviderModelMixin): supports_gpt_35_turbo = True supports_message_history = True - # default_model = "gpt-3.5-turbo-0125" default_model = "gpt-4o-mini" - models = ["gpt-4o-mini", "claude-3-haiku-20240307", "meta-llama/Llama-3-70b-chat-hf", "mistralai/Mixtral-8x7B-Instruct-v0.1"] + models = ["gpt-4o-mini", "claude-3-haiku-20240307", "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo", "mistralai/Mixtral-8x7B-Instruct-v0.1"] model_aliases = { "gpt-4": "gpt-4o-mini", "gpt-4o": "gpt-4o-mini", "claude-3-haiku": "claude-3-haiku-20240307", - "llama-3-70b": "meta-llama/Llama-3-70b-chat-hf", + "llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo", "mixtral-8x7B": "mistralai/Mixtral-8x7B-Instruct-v0.1" } -- cgit v1.2.3