litellm/docs/adrs
Joshua Valluru ef21f7bb1e feat(task-insights): seeded preview branch that runs without building Rust
Ports the Task Insights feature from litellm_task_insights_poc (b11cf90c4b) onto 07c7229895 so the seeded
demo can reuse the published multi-arch image built from that commit for the compiled extension and Python
dependencies. litellm/accounting/worker.py, litellm/repositories/accounting_delivery_repository.py and
litellm/proxy/deps/repositories.py are adapted by hand to the older accounting worker. The feature's tests come
along except tests/unit/accounting/test_worker.py, which does not exist at this base.

docker/task_insights/demo.sh builds the preview image (dashboard only, 4 GiB Node heap), starts Postgres, Redis
and the gateway in their own Compose project on localhost, seeds sample data and says how to sign in. It writes
random credentials only when missing, refuses a busy port, and keeps the database on stop. The image build
fails when the base image's compiled extension lacks a function the Python package expects.

Only the seeded flow is verified on this branch. Live discovery and bucketing were verified on the feature branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:23:16 -08:00
..
adr_001_provider_usage_fields_ride_as_usage_extras.md
adr_002_task_insights_observes_applied_deliveries.md feat(task-insights): seeded preview branch that runs without building Rust 2026-11-12 09:23:16 -08:00
AGENTS.md