mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(proxy/utils.py): return different exceptions if key is invalid vs. expired
https://github.com/BerriAI/litellm/issues/1230
This commit is contained in:
parent
a6d1c7e221
commit
9f79f75635
3 changed files with 19 additions and 13 deletions
|
@ -6,6 +6,7 @@ from litellm.integrations.custom_logger import CustomLogger
|
|||
from fastapi import HTTPException
|
||||
|
||||
class MaxParallelRequestsHandler(CustomLogger):
|
||||
user_api_key_cache = None
|
||||
# Class variables or attributes
|
||||
def __init__(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue