mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(caching.py): enable async setting of cache for dual cache
This commit is contained in:
parent
9a221851d5
commit
f0d8472bfd
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