litellm/litellm-proxy-extras
yassin 197220e2ff
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
fix(migrations): build CONCURRENTLY index migrations per partition on partitioned SpendLogs
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>
2026-10-01 03:32:55 +00:00
..
dist adding build 2026-03-21 22:55:04 -07:00
litellm_proxy_extras fix(migrations): build CONCURRENTLY index migrations per partition on partitioned SpendLogs 2026-10-01 03:32:55 +00:00
tests test(proxy-extras): move the LITELLM_LOG logger test into the CI-run proxy-extras shard 2026-09-15 22:57:23 +00:00
build_and_publish.md build: migrate packaging, CI, and Docker from Poetry to uv (#25007) 2026-04-09 11:46:23 -07:00
LICENSE install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
migration_runbook.md ci: follow the default branch in development tooling 2026-09-07 14:34:45 -07:00
pyproject.toml bump: litellm-enterprise 0.1.71 -> 0.1.72, litellm-proxy-extras 0.4.102 -> 0.4.103, litellm 1.104.0 -> 1.105.0 (#43789) 2026-09-30 01:35:34 +00:00
README.md build: migrate packaging, CI, and Docker from Poetry to uv (#25007) 2026-04-09 11:46:23 -07:00

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