Skip to content

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]

chore: merge litellm_internal_staging into litellm_fix_v2_resolver_migration_deadlock

yassinaaf59abb1f78
diff --cc litellm-proxy-extras/litellm_proxy_extras/utils.py
index 97b6b1c667c,f6647268624..1183757c827
--- a/litellm-proxy-extras/litellm_proxy_extras/utils.py
+++ b/litellm-proxy-extras/litellm_proxy_extras/utils.py
@@@ -912,9 -829,10 +920,10 @@@ class ProxyExtrasDBManager
raise RuntimeError(
"Database migration failed after 4 attempts (retry loop "
- "exhausted by timeouts or repeated idempotent-recovery "
- "continues). Check database connectivity, load, and "
- "_prisma_migrations ledger state, and raise "
+ "exhausted by timeouts, deadlock retries, or repeated "
+ "idempotent-recovery continues). Check database connectivity, "
- "load, and _prisma_migrations ledger state."
++ "load, and _prisma_migrations ledger state, and raise "
+ f"{PRISMA_MIGRATE_DEPLOY_TIMEOUT_ENV_VAR} if the attempts timed out."
)
finally:
os.chdir(original_dir)