mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-10 16:22:17 +00:00
(fix) caching config
This commit is contained in:
@@ -167,8 +167,7 @@ async def user_api_key_auth(request: Request):
|
||||
if api_key == master_key:
|
||||
return
|
||||
if api_key in config_cache:
|
||||
model_list = config.get("model_list", [])
|
||||
llm_model_list = model_list
|
||||
llm_model_list = config_cache[api_key].get("model_list", [])
|
||||
return
|
||||
|
||||
if prisma_client:
|
||||
|
||||
Reference in New Issue
Block a user