mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(caching.py): enable async setting of cache for dual cache
This commit is contained in:
parent
90e17b5422
commit
8bb00c4ae8
2 changed files with 11 additions and 2 deletions
|
@ -409,8 +409,6 @@ async def user_api_key_auth(
|
|||
models=user_object.models,
|
||||
user_role="app_owner",
|
||||
)
|
||||
else:
|
||||
raise Exception("Invalid key error!")
|
||||
#### ELSE ####
|
||||
if master_key is None:
|
||||
if isinstance(api_key, str):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue