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(proxy-extras): skip post-deploy sanity check when no migrations pending
Ishaan Jaffere6a20af6469f
diff --git a/litellm-proxy-extras/litellm_proxy_extras/utils.py b/litellm-proxy-extras/litellm_proxy_extras/utils.pyindex 2aff506685b..c24188cba1d 100644--- a/litellm-proxy-extras/litellm_proxy_extras/utils.py+++ b/litellm-proxy-extras/litellm_proxy_extras/utils.py@@ -418,6 +418,14 @@ class ProxyExtrasDBManager:logger.info("prisma migrate deploy completed")+ # Skip sanity check when deploy reports no pending migrations —+ # DB already matches schema, no drift to correct.+ if "No pending migrations to apply" in result.stdout:+ logger.info(+ "No pending migrations — skipping post-migration sanity check"+ )+ return True+# Run sanity check to ensure DB matches schemalogger.info("Running post-migration sanity check...")ProxyExtrasDBManager._resolve_all_migrations(