From 0e74757b0ad8f1c60e5043da3708f657536409d5 Mon Sep 17 00:00:00 2001 From: Mohammad Mohtashim <45242107+keenborder786@users.noreply.github.com> Date: Fri, 3 Jan 2025 00:08:22 +0500 Subject: [PATCH] (Community): `DuckDuckGoSearchAPIWrapper` backend changed from `api` to `auto` (#28961) - **Description:** `DuckDuckGoSearchAPIWrapper` default value for backend has been changed to avoid User Warning - **Issue:** #28957 --- .../langchain_community/utilities/duckduckgo_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/community/langchain_community/utilities/duckduckgo_search.py b/libs/community/langchain_community/utilities/duckduckgo_search.py index ede5c12298710..328161e7cc277 100644 --- a/libs/community/langchain_community/utilities/duckduckgo_search.py +++ b/libs/community/langchain_community/utilities/duckduckgo_search.py @@ -28,9 +28,9 @@ class DuckDuckGoSearchAPIWrapper(BaseModel): Options: d, w, m, y """ max_results: int = 5 - backend: str = "api" + backend: str = "auto" """ - Options: api, html, lite + Options: auto, html, lite """ source: str = "text" """