runtime error
Exit code: 1. Reason: to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.retrievers.tavily_search_api import TavilySearchAPIRetriever /home/user/app/app.py:37: LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain_core.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly. For example, replace imports like: `from langchain_core.pydantic_v1 import BaseModel` with: `from pydantic import BaseModel` or the v1 compatibility namespace if you are working in a code base that has not been fully upgraded to pydantic 2 yet. from pydantic.v1 import BaseModel from utils import * [nltk_data] Downloading package punkt to /home/user/nltk_data... [nltk_data] Unzipping tokenizers/punkt.zip. 2025-05-28 13:03:11,808 [INFO] [_client.py:1025] HTTP Request: POST https://api.openai.com/v1/assistants "HTTP/1.1 401 Unauthorized" Traceback (most recent call last): File "/home/user/app/app.py", line 160, in <module> general_assistant_file = client.beta.assistants.create(name="File Analysator",instructions=template, model="gpt-4-1106-preview",) File "/usr/local/lib/python3.10/site-packages/openai/resources/beta/assistants.py", line 155, in create return self._post( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1239, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1034, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-wnAvy***************************************JLcO. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Container logs:
Fetching error logs...