diff --git a/public/scripts/openai.js b/public/scripts/openai.js index ef5f41cd6..85b78622b 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -497,9 +497,10 @@ function tryParseStreamingError(str) { } function checkQuotaError(data) { - const errorText = `

You have no credits left to use with this API key.
- Check your billing details on the - OpenAI website.

`; + const errorText = `

Encountered an error while processing your request.
+ Check you have credits available on your + OpenAI account.
+ If you have sufficient credits, please try again later.

`; if (!data) { return;