Skip to content

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]

fix top key view

Ishaan Jaff6a4cce7687b4
diff --git a/ui/litellm-dashboard/src/components/top_key_view.tsx b/ui/litellm-dashboard/src/components/top_key_view.tsx
index 9de9985908f..f9a04859d58 100644
--- a/ui/litellm-dashboard/src/components/top_key_view.tsx
+++ b/ui/litellm-dashboard/src/components/top_key_view.tsx
@@ -119,7 +119,6 @@ const TopKeyView: React.FC<TopKeyViewProps> = ({
{viewMode === 'chart' ? (
<div className="relative">
- <div className="mb-2 text-sm text-gray-500 italic">Click on any key to view detailed information</div>
<BarChart
className="mt-4 h-40 cursor-pointer hover:opacity-90"
data={topKeys}
diff --git a/ui/litellm-dashboard/src/components/usage.tsx b/ui/litellm-dashboard/src/components/usage.tsx
index cf42904e3a5..e12ba244c18 100644
--- a/ui/litellm-dashboard/src/components/usage.tsx
+++ b/ui/litellm-dashboard/src/components/usage.tsx
@@ -657,7 +657,7 @@ const UsagePage: React.FC<UsagePageProps> = ({
</Card>
</Col>
<Col numColSpan={1}>
- <Card>
+ <Card className="h-full">
<Title>Top API Keys</Title>
<TopKeyView
topKeys={topKeys}
@@ -668,7 +668,7 @@ const UsagePage: React.FC<UsagePageProps> = ({
</Card>
</Col>
<Col numColSpan={1}>
- <Card>
+ <Card className="h-full">
<Title>Top Models</Title>
<BarChart
className="mt-4 h-40"
@@ -683,7 +683,6 @@ const UsagePage: React.FC<UsagePageProps> = ({
valueFormatter={(value) => `$${value.toFixed(2)}`}
/>
</Card>
-
</Col>
<Col numColSpan={1}>