The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix prisma
Ishaan Jaffera58232ac5bc3
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 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, timezonefrom typing import Any, Dict, List, Literal, Optional, Tuple, castimport fastapi-import prismaimport yamlfrom fastapi import APIRouter, Depends, Header, HTTPException, Query, Request, status@@ -3153,6 +3152,8 @@ async def _rotate_master_key( # noqa: PLR09153. Encrypt the values with the new master key4. Update the values in the DB"""+ import prisma+from litellm.proxy.proxy_server import proxy_configtry: