mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix top key view
This commit is contained in:
parent
b504e3b406
commit
6a4cce7687
2 changed files with 2 additions and 4 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue