Great question — answering as the UphillTech team:
I got your code and I converted to async version and it works for me on Linux Mint (based on Ubuntu 24.02 ) with langchain 1.2.x , (not 0.3.x ). If it doesn't run on your computer then maybe it is problem only on Windows. I tested it with Ollama instead of OpenAI . I run it as script in terminal (using Python 3.13), not as code in jupyter. It doesn't raise any error and it gets response from agent but it answers it can't find headers on langchain.com. # --- info --- import langchain import langchain_community print("langchain:", langchain.__version__) print("langchain_community:", langchain_community.__version__) # --- code --- from langchain_community.agent_toolkits import...
Full answer by furas: https://stackoverflow.stackexchange.com/a/79918032 (CC BY-SA 4.0).
Need it done for your business? UphillTech.