Fix build_admin_ui.sh

This commit is contained in:
yuneng-jiang 2025-11-03 11:51:04 -08:00
parent e684702516
commit c6d6c26caf

View file

@ -9,7 +9,7 @@ pwd
# only run this step for litellm enterprise, we run this if enterprise/enterprise_ui/_enterprise.json exists
if [ ! -f "enterprise/enterprise_ui/_enterprise_colors.json" ]; then
if [ ! -f "enterprise/enterprise_ui/enterprise_colors.json" ]; then
echo "Admin UI - using default LiteLLM UI"
exit 0
fi
@ -47,7 +47,7 @@ nvm use v18.17.0
npm install -g npm
# copy _enterprise.json from this directory to /ui/litellm-dashboard, and rename it to ui_colors.json
cp enterprise/enterprise_ui/_enterprise_colors.json ui/litellm-dashboard/ui_colors.json
cp enterprise/enterprise_ui/enterprise_colors.json ui/litellm-dashboard/ui_colors.json
# cd in to /ui/litellm-dashboard
cd ui/litellm-dashboard