Problem/Motivation

Currently the \OpenAI\Exceptions\RateLimitException isn't intercepted.

Steps to reproduce

Enable a rate limit on LiteLLM. E.g. a "Max Requests per minute" on a budget.
Trigger the limit.
The handleApiException returns a generic exception.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

giuseppe87 created an issue. See original summary.

giuseppe87’s picture

Status: Active » Needs review
dan2k3k4’s picture

Assigned: giuseppe87 » dan2k3k4
Status: Needs review » Fixed

Merged

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

dan2k3k4’s picture

Assigned: dan2k3k4 » Unassigned
Status: Fixed » Closed (fixed)