henrycunh / golem

✨ A beautiful UI for ChatGPT and other conversational models
https://golem.chat
MIT License
235 stars 63 forks source link

Can't see response errors #46

Closed Guiqft closed 1 year ago

Guiqft commented 1 year ago

Golem isn't showing the error that OpenAI returns from v1/chat/completions. While trying to use, not happens on the screen. Upon examining the network response, I discovered the cause of the problem:

{
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details.",
        "type": "insufficient_quota",
        "param": null,
        "code": null
    }
}

Replying this error message to the user would be really useful.