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
Add banner for customer usage
yuneng-jiangfa47861ca09e
diff --git a/ui/litellm-dashboard/src/components/new_usage.tsx b/ui/litellm-dashboard/src/components/new_usage.tsxindex f9280ae2bf2..aa4b77b47a2 100644--- a/ui/litellm-dashboard/src/components/new_usage.tsx+++ b/ui/litellm-dashboard/src/components/new_usage.tsx@@ -92,6 +92,7 @@ const NewUsagePage: React.FC<NewUsagePageProps> = ({const [isCloudZeroModalOpen, setIsCloudZeroModalOpen] = useState(false);const [isGlobalExportModalOpen, setIsGlobalExportModalOpen] = useState(false);const [showOrganizationBanner, setShowOrganizationBanner] = useState(true);+ const [showCustomerBanner, setShowCustomerBanner] = useState(true);const getAllTags = async () => {if (!accessToken) {@@ -803,6 +804,17 @@ const NewUsagePage: React.FC<NewUsagePageProps> = ({{/* Customer Usage Panel */}<TabPanel>+ {showCustomerBanner && (+ <Alert+ banner+ type="info"+ message="Customer usage is a new feature."+ description="Spend is tracked from feature launch and previous data isn't backfilled, so only future usage appears here."+ closable+ onClose={() => setShowCustomerBanner(false)}+ className="mb-5"+ />+ )}<EntityUsageaccessToken={accessToken}entityType="customer"