Posts

Showing posts with the label quota

Pythonanywhere insufficient_quota message='OpenAI API error received' stream_error=False

  openai.error.InvalidRequestError: The model: `davinci-codex` does not exist 2023-06-05 17:21:16,816: Error running WSGI application 2023-06-05 17:21:16,819: File "/home/PetCharmWorld/mysite/flask_app.py", line 30 2023-06-05 17:21:16,819: 2023-06-05 17:21:16,819: response = openai.Completion.create(**completion_params) 2023-06-05 17:21:16,819: 2023-06-05 17:21:16,819: IndentationError: unexpected indent 2023-06-05 17:21:16,819: File "/var/www/petcharmworld_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-06-05 17:21:16,819: from flask_app import app as application # noqa 2023-06-05 17:21:16,820: *************************************************** 2023-06-05 17:21:16,820: If you're seeing an import error and don't know why, 2023-06-05 17:21:16,820: we have a dedicated help page to help you debug: 2023-06-05 17:21:16,820: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2023-06-05 17:21:16,820: **************************...