Wing 10.0.5.1: openai.BadRequestError: Error code: 400 - {'error': {'message': "The requested model 'gpt-4-turbo' does not exist."
In 10.0.5.1, with the AI Provider 'Model' field set to 'gpt-4o', the following appears in the Console when trying to do anything AI-related; e.g. start an AI chat; is there a workaround or a planned bug fix for this?
File "C:\Program Files\Wing Pro 10\bin\__os__\win32\runtime-pip-openai-py3.11\lib\site-packages\openai\resources\beta\assistants\assistants.py", line 95, in create
return self._post(
^^^^^^^^^^^
File "C:\Program Files\Wing Pro 10\bin\__os__\win32\runtime-pip-openai-py3.11\lib\site-packages\openai\_base_client.py", line 1088, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Wing Pro 10\bin\__os__\win32\runtime-pip-openai-py3.11\lib\site-packages\openai\_base_client.py", line 853, in request
return self._request(
^^^^^^^^^^^^^^
File "C:\Program Files\Wing Pro 10\bin\__os__\win32\runtime-pip-openai-py3.11\lib\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 requested model 'gpt-4-turbo' does not exist.", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}
Comments