diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index 08da25556d..fce6d4254b 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -219,7 +219,8 @@ async def get_end_user_object( # else, check db try: response = await prisma_client.db.litellm_endusertable.find_unique( - where={"user_id": end_user_id} + where={"user_id": end_user_id}, + include={"litellm_budget_table": True}, ) if response is None: