The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
use correct build paths
Ishaan Jaffdab556660db5
diff --git a/ui/litellm-dashboard/build_ui_custom_path.sh b/ui/litellm-dashboard/build_ui_custom_path.shold mode 100644new mode 100755index 11b054b593c..ceb8c733d37--- a/ui/litellm-dashboard/build_ui_custom_path.sh+++ b/ui/litellm-dashboard/build_ui_custom_path.sh@@ -1,14 +1,14 @@#!/bin/bash-# Check if BASE_UI_PATH argument is provided+# Check if UI_BASE_PATH argument is providedif [ -z "$1" ]; then- echo "Error: BASE_UI_PATH argument is required."- echo "Usage: $0 <BASE_UI_PATH>"+ echo "Error: UI_BASE_PATH argument is required."+ echo "Usage: $0 <UI_BASE_PATH>"exit 1fi-# Set BASE_UI_PATH from the first argument-BASE_UI_PATH="$1"+# Set UI_BASE_PATH from the first argument+UI_BASE_PATH="$1"# Check if nvm is not installedif ! command -v nvm &> /dev/null; then@@ -34,7 +34,7 @@ echo "Contents of ui_colors.json:"cat ui_colors.json# Run npm build with the environment variable-BASE_UI_PATH=$BASE_UI_PATH npm run build+UI_BASE_PATH=$UI_BASE_PATH npm run build# Check if the build was successfulif [ $? -eq 0 ]; thendiff --git a/ui/litellm-dashboard/next.config.mjs b/ui/litellm-dashboard/next.config.mjsindex e1f8aa083ee..6e2924677c8 100644--- a/ui/litellm-dashboard/next.config.mjs+++ b/ui/litellm-dashboard/next.config.mjs@@ -1,7 +1,7 @@/** @type {import('next').NextConfig} */const nextConfig = {output: 'export',- basePath: '/ui',+ basePath: process.env.UI_BASE_PATH || '/ui',};nextConfig.experimental = {