mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
When DIRECT_URL is not set and DATABASE_URL is a Neon pooler URL, prisma migrate diff fails (pooler doesn't support extended query protocol for schema introspection). Previously _resolve_all_migrations returned early without applying any migrations, leaving the budget_limits column missing and causing test_auth_callback_new_user to fail. Now falls back to running each migration SQL file via prisma db execute --file, which works with pooler URLs and is safe to re-run due to IF NOT EXISTS guards. |
||
|---|---|---|
| .. | ||
| 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