diff --git a/libs/community/langchain_community/retrievers/web_research.py b/libs/community/langchain_community/retrievers/web_research.py index 8df4801392..8dfadb49cf 100644 --- a/libs/community/langchain_community/retrievers/web_research.py +++ b/libs/community/langchain_community/retrievers/web_research.py @@ -135,6 +135,8 @@ class WebResearchRetriever(BaseRetriever): text_splitter: Text splitter for splitting web pages into chunks trust_env: Whether to use the http_proxy/https_proxy env variables or check .netrc for proxy configuration + allow_dangerous_requests: A flag to force users to acknowledge + the risks of SSRF attacks when using this retriever Returns: WebResearchRetriever