forked from phoenix/litellm-mirror
Merge pull request #1381 from BerriAI/litellm_content_policy_violation_exception
[Feat] Add litellm.ContentPolicyViolationError
This commit is contained in:
commit
4cfa010dbd
7 changed files with 252 additions and 162 deletions
|
@ -12,6 +12,7 @@ LiteLLM maps exceptions across all providers to their OpenAI counterparts.
|
|||
| 429 | RateLimitError |
|
||||
| >=500 | InternalServerError |
|
||||
| N/A | ContextWindowExceededError|
|
||||
| 400 | ContentPolicyViolationError|
|
||||
| N/A | APIConnectionError |
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue