Show info, when quota exeeded

Created on 8 May 2023, over 1 year ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

When the current openAi quota is exeeded, there is no feedback to the user. No matter if in the CKEditor dialogs or anyone else in the OpenAI sub-modules. If I try to submit a request, just nothing happens.
There is an entry in the error logs generated, but no info for the user.

OpenAI\Exceptions\ErrorException: You exceeded your current quota, please check your plan and billing details. in OpenAI\Transporters\HttpTransporter->requestObject() (line 61 of /jails/site50001/var/www/public/vendor/openai-php/client/src/Transporters/HttpTransporter.php).

Steps to reproduce

Use an API key with exeeded quota and try to use this module. --> Nothing happens.

Proposed resolution

Add an info box in the UI.

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇩🇪Germany droprocker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024