New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error code: 404 - {'error': {'message': 'The model gpt-4-turbo
does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
#495
Comments
Did you go into the settings wheel and hit edit and paste your gpt api and save? |
client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
response = client.models.list()
for model in response.data:
if model.id.startswith("gpt-4"):
print(model.id) run this code to check how many models are available for you. |
Where i have to add this script ? the last message indicates that **** Settings are not logged **** |
i just wanna precise that my version of python is 3.12.2 and not < 3.12 Version's requirements
|
make a test.py, copy this code and run that file (replace your api key). |
Hello
I bought GPT premium, but this bug has appeared. What should I do?
The text was updated successfully, but these errors were encountered: