mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
Postgres refuses CREATE INDEX CONCURRENTLY on a partitioned parent (0A000), so 20260831120001_spend_logs_litellm_call_id_index fails with P3018 on a partitioned LiteLLM_SpendLogs and blocks every later migration. The shipped migration file is left untouched; when its ledger row carries that error, both resolvers build the index Postgres allows (ON ONLY parent, CONCURRENTLY per leaf partition, ATTACH PARTITION) over an autocommit connection under an advisory lock bounded by LITELLM_MIGRATION_LOCK_TIMEOUT, then complete the row under the coordinator lock. A lock wait that hits the deadline fails startup instead of returning False, so no resolver rolls the builder's row back. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| dist | ||
| litellm_proxy_extras | ||
| tests | ||
| build_and_publish.md | ||
| LICENSE | ||
| migration_runbook.md | ||
| pyproject.toml | ||
| README.md | ||
Additional files for the proxy. Reduces the size of the main litellm package.
Currently, only stores the migration.sql files for litellm-proxy.
To install, run:
uv add litellm-proxy-extras
OR
uv tool install 'litellm[proxy]' # installs litellm-proxy-extras and other proxy dependencies
To use the migrations, run:
litellm --use_prisma_migrate