From 65ac4c1acb7069a9329302b3275fb657ab6613d5 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 6 Jan 2024 11:57:31 +0530 Subject: [PATCH] (ci/cd) run again --- litellm/proxy/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index bedbda224ba..061a6c07ccc 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -617,11 +617,13 @@ async def _cache_user_row(user_id: str, cache: DualCache, db: PrismaClient): Check if a user_id exists in cache, if not retrieve it. """ + print_verbose(f"Prisma: _cache_user_row, user_id: {user_id}") cache_key = f"{user_id}_user_api_key_user_id" response = cache.get_cache(key=cache_key) if response is None: # Cache miss user_row = await db.get_data(user_id=user_id) if user_row is not None: + print_verbose(f"User Row: {user_row}") cache_value = user_row.model_dump_json() cache.set_cache( key=cache_key, value=cache_value, ttl=600