Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: You must set allow_dangerous_requests to True to use this tool #8

Open
jorgeraulgomez opened this issue May 20, 2024 · 0 comments

Comments

@jorgeraulgomez
Copy link

Hello,

I am trying to run "chat with business console" but I get an unexpected error in LangChain

"ValueError: You must set allow_dangerous_requests to True to use this tool [...]"

This value error comes from here (line 35):
https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/tools/requests/tool.py

The problem is taht I don't know any funcion used in the example that inherits from class BaseRequestsTool of LangChain

I tried this code both with the latest versions of the libraries in requirements.txt and the ones that existed when the requirements was modified:
gradio==3.34.0
langchain==0.0.194
tiktoken==0.4.0
openai==0.27.8
and the result is the same error.

Could you please provide more insight to avoid having this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant