You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/agent_toolkits
David Lee 0394c6e126
community[minor]: add allow_dangerous_requests for OpenAPI toolkits (#19493)
**OpenAPI allow_dangerous_requests**: community: add
allow_dangerous_requests for OpenAPI toolkits

**Description:** a description of the change

Due to BaseRequestsTool changes, we need to pass
allow_dangerous_requests manually.


b617085af0/libs/community/langchain_community/tools/requests/tool.py (L26-L46)

While OpenAPI toolkits didn't pass it in the arguments.


b617085af0/libs/community/langchain_community/agent_toolkits/openapi/planner.py (L262-L269)


**Issue:** the issue # it fixes, if applicable

https://github.com/langchain-ai/langchain/issues/19440

If not passing allow_dangerous_requests, it won't be able to do
requests.

**Dependencies:** any dependencies required for this change

Not much

---------

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
6 months ago
..
ainetwork community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
amadeus feat(community): make Amadeus toolkit LLM-agnostic (#15879) 9 months ago
clickup community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
cogniswitch community[minor]: CogniSwitch Agent Toolkit for LangChain (#17312) 7 months ago
connery community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
csv community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
file_management community[patch]: fix agent_toolkits mypy (#17050) 8 months ago
github docs: docstrings `langchain_community` update (#14889) 10 months ago
gitlab community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
gmail community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
jira community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
json community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
multion community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
nasa community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
nla community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
office365 community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
openapi community[minor]: add allow_dangerous_requests for OpenAPI toolkits (#19493) 6 months ago
playwright community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
polygon community: Add PolygonAggregates tool (#18882) 7 months ago
powerbi community[patch]: fix agent_toolkits mypy (#17050) 8 months ago
slack community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
spark_sql community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
sql community[patch]: pass through sql agent kwargs (#19962) 6 months ago
steam community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
xorbits community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
zapier community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
__init__.py community[minor]: Update Azure Cognitive Services to Azure AI Services (#19488) 6 months ago
azure_ai_services.py community[minor]: Update Azure Cognitive Services to Azure AI Services (#19488) 6 months ago
azure_cognitive_services.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
base.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago