File "/opt/venv/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}
indicates that the OpenAI API deployment cannot be found. However, this issue only arises when build and run the application in Docker. When running it locally, everything works fine without any problems.
hi @NSonTung463 are you still seeing this issue? Our team typically runs with SR in docker without issue, so I think you may have some docker connectivity issues here?
File "/opt/venv/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request raise self._make_status_error_from_response(err.response) from None openai.NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}
indicates that the OpenAI API deployment cannot be found. However, this issue only arises when build and run the application in Docker. When running it locally, everything works fine without any problems.