diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-05-19 05:09:55 +0200 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-05-19 05:09:55 +0200 |
commit | 19944818724c98d2f06a10f619acf622ba0876ad (patch) | |
tree | d2c8889a24524895c026b6b8d2a428eacf37757e /g4f/Provider/DuckDuckGo.py | |
parent | Add dark mode config, slide system prompt (diff) | |
download | gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar.gz gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar.bz2 gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar.lz gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar.xz gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.tar.zst gpt4free-19944818724c98d2f06a10f619acf622ba0876ad.zip |
Diffstat (limited to 'g4f/Provider/DuckDuckGo.py')
-rw-r--r-- | g4f/Provider/DuckDuckGo.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/g4f/Provider/DuckDuckGo.py b/g4f/Provider/DuckDuckGo.py index 2fa0612a..9379660b 100644 --- a/g4f/Provider/DuckDuckGo.py +++ b/g4f/Provider/DuckDuckGo.py @@ -16,8 +16,11 @@ class DuckDuckGo(AsyncGeneratorProvider, ProviderModelMixin): supports_message_history = True default_model = "gpt-3.5-turbo-0125" - models = ["gpt-3.5-turbo-0125", "claude-instant-1.2"] - model_aliases = {"gpt-3.5-turbo": "gpt-3.5-turbo-0125"} + models = ["gpt-3.5-turbo-0125", "claude-3-haiku-20240307"] + model_aliases = { + "gpt-3.5-turbo": "gpt-3.5-turbo-0125", + "claude-3-haiku": "claude-3-haiku-20240307" + } status_url = "https://duckduckgo.com/duckchat/v1/status" chat_url = "https://duckduckgo.com/duckchat/v1/chat" |