benman1 / generative_ai_with_langchain

Build large language model (LLM) apps with Python, ChatGPT and other models. This is the companion repository for the book on generative AI with LangChain.
https://amzn.to/43PuIkQ
MIT License
644 stars 257 forks source link

No PythonREPLTool,no python_repl #37

Closed SheldonLiu0412 closed 7 months ago

SheldonLiu0412 commented 7 months ago

1.from langchain_experimental.tools import PythonREPLTool No tools,no PythonREPLTool 2.from langchain.agents import load_tools in load_tools raise ValueError(f"Got unknown tool {name}") ValueError: Got unknown tool python_repl