matrixgpt / matrix-chatgpt-bot

Talk to ChatGPT via any Matrix client!
GNU Affero General Public License v3.0
236 stars 64 forks source link

ChatGPT don't work #95

Closed bramenn closed 1 year ago

bramenn commented 1 year ago

My model is: Starting bot using ChatGPT model: text-chat-davinci-002-20221122 My currently project version: v2.2.0 When i send a message to ChatGPTBot told me:

The bot has encountered an error, please contact your administrator.

whit the next logs:

matrix-chatgpt-bot  | Wed, 08 Feb 2023 16:30:44 GMT [ERROR] [OpenAI-API Error: Error: Failed to send message. HTTP 503 - {
matrix-chatgpt-bot  |   "error": {
matrix-chatgpt-bot  |     "message": "That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID e593c4799f6dc6f73855ffa7d296ad45 in your message.)",
matrix-chatgpt-bot  |     "type": "server_error",
matrix-chatgpt-bot  |     "param": null,
matrix-chatgpt-bot  |     "code": null
matrix-chatgpt-bot  |   }
matrix-chatgpt-bot  | }
matrix-chatgpt-bot  | ]
matrix-chatgpt-bot  | TypeError: Cannot read properties of undefined (reading 'response')
matrix-chatgpt-bot  |     at CommandHandler.onMessage (file:///usr/src/app/dist/handlers.js:128:86)
matrix-chatgpt-bot  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
bertybuttface commented 1 year ago

The error message in the logs says everything. The model is overloaded, either use a different model (see the README for how to use a paid model) or wait. Nothing we can do.