runtime error
Exit code: 1. Reason: /usr/local/lib/python3.10/site-packages/langchain/tools/__init__.py:73: LangChainDeprecationWarning: Importing tools from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead: `from langchain_community.tools import DuckDuckGoSearchRun`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( /home/user/app/tools.py:5: LangChainDeprecationWarning: Importing OpenAIEmbeddings from langchain.embeddings is deprecated. Please replace deprecated imports: >> from langchain.embeddings import OpenAIEmbeddings with new imports of: >> from langchain_community.embeddings import OpenAIEmbeddings You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.embeddings import OpenAIEmbeddings /home/user/app/tools.py:6: LangChainDeprecationWarning: Importing FAISS from langchain.vectorstores is deprecated. Please replace deprecated imports: >> from langchain.vectorstores import FAISS with new imports of: >> from langchain_community.vectorstores import FAISS You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.vectorstores import FAISS Traceback (most recent call last): File "/home/user/app/app.py", line 9, in <module> from tools import search_tool, rag_chain, extract_final_answer, initialize_code_agent File "/home/user/app/tools.py", line 9, in <module> from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel ModuleNotFoundError: No module named 'smolagents'
Container logs:
Fetching error logs...