diff --git a/src/compare.tsx b/src/compare.tsx index 4e78729d..ddb97b71 100644 --- a/src/compare.tsx +++ b/src/compare.tsx @@ -84,28 +84,30 @@ function ModelSelector({ models, onSelect, onBack }: ModelSelectorProps) { return ( - Model Comparison - - Select two models to compare: - - {models.map((m, i) => { - const isCursor = i === cursor - const isSelected = selected.has(i) - const lowData = m.calls < LOW_DATA_THRESHOLD - const prefix = isCursor ? '> ' : ' ' - return ( - - {prefix} - - {m.model.padEnd(MODEL_NAME_COL)} + + Model Comparison + + Select two models to compare: + + {models.map((m, i) => { + const isCursor = i === cursor + const isSelected = selected.has(i) + const lowData = m.calls < LOW_DATA_THRESHOLD + const prefix = isCursor ? '> ' : ' ' + return ( + + {prefix} + + {m.model.padEnd(MODEL_NAME_COL)} + + {m.calls.toLocaleString().padStart(8)} calls + {formatCost(m.cost).padStart(10)} + {isSelected && [selected]} + {lowData && low data} - {m.calls.toLocaleString().padStart(8)} calls - {formatCost(m.cost).padStart(10)} - {isSelected && [selected]} - {lowData && low data} - - ) - })} + ) + })} + [space] select @@ -224,9 +226,11 @@ export function CompareView({ projects, onBack }: CompareViewProps) { if (models.length < 2) { return ( - Model Comparison - - Need at least 2 models to compare. Found {models.length}. + + Model Comparison + + Need at least 2 models to compare. Found {models.length}. + [esc] back @@ -260,9 +264,11 @@ export function CompareView({ projects, onBack }: CompareViewProps) { if (phase === 'loading') { return ( - Model Comparison - - Scanning self-corrections... + + Model Comparison + + Scanning self-corrections... + ) }