-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ai-help): reset user quota on openai api error (#430)
* hooked in reinstating the user quota if there is an error on our side * removed log line * remove subscriber type dependent branches in `decrement_limit_total` * refactor(ai-help): rename decrement_limit() --------- Co-authored-by: Claas Augner <caugner@mozilla.com> Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
- Loading branch information
1 parent
f523d52
commit cd6fdf8
Showing
2 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters