mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
feat(time_to_first_token.tsx): make viewing ttft free
This commit is contained in:
parent
6065a78702
commit
3e47102567
2 changed files with 2 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ const TimeToFirstToken: React.FC<TimeToFirstTokenProps> = ({
|
|||
customTooltip,
|
||||
premiumUser,
|
||||
}) => {
|
||||
return premiumUser ? (
|
||||
return (
|
||||
<LineChart
|
||||
title="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>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue