diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 871b14bd2..80c93f6cb 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -502,9 +502,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;