From a58232ac5bc3b2197733494531edb5929e0cb7be Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 21 Feb 2026 15:33:15 -0800 Subject: [PATCH] fix prisma --- litellm/proxy/management_endpoints/key_management_endpoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py index 7e1776714f7..f2effa95f8b 100644 --- a/litellm/proxy/management_endpoints/key_management_endpoints.py +++ b/litellm/proxy/management_endpoints/key_management_endpoints.py @@ -20,7 +20,6 @@ from datetime import datetime, timedelta, timezone from typing import Any, Dict, List, Literal, Optional, Tuple, cast import fastapi -import prisma import yaml from fastapi import APIRouter, Depends, Header, HTTPException, Query, Request, status @@ -3153,6 +3152,8 @@ async def _rotate_master_key( # noqa: PLR0915 3. Encrypt the values with the new master key 4. Update the values in the DB """ + import prisma + from litellm.proxy.proxy_server import proxy_config try: