The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
fix: remove useless variable k (#6524)
Zeeland92ef77da3523
diff --git a/langchain/tools/ddg_search/tool.py b/langchain/tools/ddg_search/tool.pyindex 2020b31340..33b357cee1 100644--- a/langchain/tools/ddg_search/tool.py+++ b/langchain/tools/ddg_search/tool.py@@ -44,7 +44,7 @@ class DuckDuckGoSearchRun(BaseTool):class DuckDuckGoSearchResults(BaseTool):- """Tool that queries the Duck Duck Go Search API and get back json."""+ """Tool that queries the DuckDuckGo search API and get back json."""name = "DuckDuckGo Results JSON"description = (diff --git a/langchain/utilities/duckduckgo_search.py b/langchain/utilities/duckduckgo_search.pyindex f90fdf7fec..4349d86f1d 100644--- a/langchain/utilities/duckduckgo_search.py+++ b/langchain/utilities/duckduckgo_search.py@@ -12,10 +12,9 @@ from pydantic.class_validators import root_validatorclass DuckDuckGoSearchAPIWrapper(BaseModel):"""Wrapper for DuckDuckGo Search API.- Free and does not require any setup+ Free and does not require any setup."""- k: int = 10region: Optional[str] = "wt-wt"safesearch: str = "moderate"time: Optional[str] = "y"