henrycunh/golem

Can't see response errors

Guiqft opened this issue · 0 comments

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.