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
feat(time_to_first_token.tsx): make viewing ttft free
Krrish Dholakia3e4710256720
diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsxindex ecc4adb2e19..65eb02ad55a 100644--- a/ui/litellm-dashboard/src/components/model_dashboard.tsx+++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx@@ -1214,7 +1214,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({<TabGroup><TabList variant="line" defaultValue="1"><Tab value="1">Avg. Latency per Token</Tab>- <Tab value="2">✨ Time to first token</Tab>+ <Tab value="2">Time to first token</Tab></TabList><TabPanels><TabPanel>diff --git a/ui/litellm-dashboard/src/components/model_metrics/time_to_first_token.tsx b/ui/litellm-dashboard/src/components/model_metrics/time_to_first_token.tsxindex 744b3d4a1e4..3f1437e1c33 100644--- a/ui/litellm-dashboard/src/components/model_metrics/time_to_first_token.tsx+++ b/ui/litellm-dashboard/src/components/model_metrics/time_to_first_token.tsx@@ -13,7 +13,7 @@ const TimeToFirstToken: React.FC<TimeToFirstTokenProps> = ({customTooltip,premiumUser,}) => {- return premiumUser ? (+ return (<LineCharttitle="Time to First token (s)"className="h-72"@@ -25,18 +25,6 @@ const TimeToFirstToken: React.FC<TimeToFirstTokenProps> = ({connectNulls={true}customTooltip={customTooltip}/>- ) : (- <div>- <Callout title="✨ Enterprise Feature" color="teal" className="mt-2 mb-4">- Enterprise features are available for users with a specific license,- please contact LiteLLM to unlock this limitation.- </Callout>- <Button variant="primary">- <a href="https://forms.gle/W3U4PZpJGFHWtHyA9" target="_blank">- Get in touch- </a>- </Button>- </div>);};