litellm-mirror/litellm-proxy-extras
Krish Dholakia 9b77559ccf
Add aggregate team based usage logging (#10039)
* feat(schema.prisma): initial commit adding aggregate table for team spend

allows team spend to be visible at 1m+ logs

* feat(db_spend_update_writer.py): support logging aggregate team spend

allows usage dashboard to work at 1m+ logs

* feat(litellm-proxy-extras/): add new migration file

* fix(db_spend_update_writer.py): fix return type

* build: bump requirements

* fix: fix ruff error
2025-04-15 20:58:48 -07:00
..
dist Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
litellm_proxy_extras Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
tests install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -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
poetry.lock build: use new litellm-proxy-extras version 2025-04-12 10:55:47 -07:00
pyproject.toml Add aggregate team based usage logging (#10039) 2025-04-15 20:58:48 -07:00
README.md install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -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:

pip install litellm-proxy-extras

OR

pip install litellm[proxy] # installs litellm-proxy-extras and other proxy dependencies.

To use the migrations, run:

litellm --use_prisma_migrate