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
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>
5 months ago
..
adapters
agent_toolkits community[minor]: add allow_dangerous_requests for OpenAPI toolkits (#19493) 5 months ago
callbacks community[minor]: add bedrock anthropic callback for token usage counting (#19864) 5 months ago
chat_loaders deprecating integrations moved to langchain_google_community (#19841) 6 months ago
chat_message_histories community[patch]: history size support for DynamoDBChatMessageHistory (#16794) 6 months ago
chat_models community[patch]: standardize baichuan init args (#20209) 5 months ago
cross_encoders community[patch]: `cross_encoders` flatten namespaces (#20183) 5 months ago
docstore community[patch]: speed up import times in the community package (#18928) 6 months ago
document_compressors community[minor]: Add OpenVINO rerank model support (#19791) 6 months ago
document_loaders community[patch]: GCSDirectoryLoader bugfix (#20005) 5 months ago
document_transformers deprecating integrations moved to langchain_google_community (#19841) 6 months ago
embeddings community[minor]: Add OpenVINO rerank model support (#19791) 6 months ago
example_selectors
graphs community[minor]: add neptune analytics graph (#20047) 5 months ago
indexes
llms community[minor]: Add support for MLX models (chat & llm) (#18152) 5 months ago
output_parsers
retrievers Community: Updating Azure Retriever and Docs to be Azure AI Search instead of Azure Cognitive Search (#19925) 5 months ago
storage community[patch]: flattening imports 3 (#18939) 6 months ago
tools community[minor]: add allow_dangerous_requests for OpenAPI toolkits (#19493) 5 months ago
utilities community[minor]: Add support for Pebblo cloud_api_key in PebbloSafeLoader (#19855) 5 months ago
utils community[patch], mongodb[patch]: Stop spamming SIMD import warnings (#19531) 6 months ago
vectorstores community[patch], langchain[minor]: Enhance Tencent Cloud VectorDB, langchain: make Tencent Cloud VectorDB self query retrieve compatible (#19651) 5 months ago
__init__.py
cache.py core[patch]: fix beta, deprecated typing (#18877) 6 months ago
py.typed