mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
The Next.js bundle under litellm/proxy/_experimental/out has historically been checked into the repository so the proxy could ship a pre-built dashboard. This bloated the repo (~21 MB of generated artifacts) and made every UI PR unreviewable because npm-rebuilt hashed asset filenames showed up as massive diffs. Wire every code path that produces a distributable artifact to rebuild the UI from source instead: - docker/build_admin_ui.sh now always builds the UI (no more enterprise-only early exit), copies it to litellm/proxy/_experimental/out, and restructures HTML so extensionless /ui routes work. - docker/Dockerfile.alpine and docker/Dockerfile.non_root now invoke build_admin_ui.sh (the other Dockerfiles already did). non_root drops its bespoke restructure loop since the build script handles it. - .github/workflows/publish_to_pypi.yml builds the UI before 'uv build' so the published wheel/sdist still ships the dashboard. - ui/litellm-dashboard/build_ui.sh creates the destination dir if missing and restructures HTML routes the same way the Docker pipeline does. - ui/litellm-dashboard/build_release_ui.sh no longer commits artifacts to git; it just delegates to docker/build_admin_ui.sh. Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions/helm-oci-chart-releaser | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| dependabot.yaml | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||