diff --git a/client/src/components/Chat/Input/TokenUsageIndicator.tsx b/client/src/components/Chat/Input/TokenUsageIndicator.tsx index f4a847ef06..1e8658bfdd 100644 --- a/client/src/components/Chat/Input/TokenUsageIndicator.tsx +++ b/client/src/components/Chat/Input/TokenUsageIndicator.tsx @@ -17,15 +17,23 @@ interface ProgressBarProps { value: number; max: number; colorClass: string; + label: string; showPercentage?: boolean; } -function ProgressBar({ value, max, colorClass, showPercentage = false }: ProgressBarProps) { +function ProgressBar({ value, max, colorClass, label, showPercentage = false }: ProgressBarProps) { const percentage = max > 0 ? Math.min((value / max) * 100, 100) : 0; return (