From 0260addeac88ab412d65c783b7707ff4203ddf8c Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 8 May 2024 18:06:31 -0700 Subject: [PATCH] clean up usage tab --- ui/litellm-dashboard/src/components/usage.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/ui/litellm-dashboard/src/components/usage.tsx b/ui/litellm-dashboard/src/components/usage.tsx index 481a418d533..24630699485 100644 --- a/ui/litellm-dashboard/src/components/usage.tsx +++ b/ui/litellm-dashboard/src/components/usage.tsx @@ -375,7 +375,12 @@ const UsagePage: React.FC = ({ - End-Users of your LLM API calls. Tracked when a `user` param is passed in your LLM calls docs here

+ + + Select Time Range + + { @@ -383,8 +388,10 @@ const UsagePage: React.FC = ({ updateEndUserData(value.from, value.to); // Call updateModelMetrics with the new date range }} /> - Key - {keys?.map((key: any, index: number) => { if ( key && @@ -407,7 +414,11 @@ const UsagePage: React.FC = ({ return null; // Add this line to handle the case when the condition is not met })} - End Users of your LLM API calls. Tracked When a `user` param is passed in your LLM calls + + + + +