runtime error

Exit code: 1. Reason: ### Step 1: Get the Assistant's ID ### Traceback (most recent call last): File "/home/user/app/app.py", line 9, in <module> llm = Llm() File "/home/user/app/llm/openai.py", line 19, in __init__ self.assistant = self.client.beta.assistants.retrieve(self.assistant_id) File "/home/user/.local/lib/python3.10/site-packages/openai/resources/beta/assistants/assistants.py", line 139, in retrieve return self._get( File "/home/user/.local/lib/python3.10/site-packages/openai/_base_client.py", line 1031, in get return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/home/user/.local/lib/python3.10/site-packages/openai/_base_client.py", line 853, in request return self._request( File "/home/user/.local/lib/python3.10/site-packages/openai/_base_client.py", line 930, in _request raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {'error': {'message': "The v1 Assistants API has been deprecated. Please try again by setting the header 'OpenAI-Beta: assistants=v2'. See the migration guide for more information: https://platform.openai.com/docs/assistants/migration.", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_beta'}}

Container logs:

Fetching error logs...