({
title,
values,
isSubtle = false,
isSection = false,
})
| 27 | } |
| 28 | |
| 29 | const StatRow: React.FC<StatRowProps> = ({ |
| 30 | title, |
| 31 | values, |
| 32 | isSubtle = false, |
| 33 | isSection = false, |
| 34 | }) => ( |
| 35 | <Box> |
| 36 | <Box width={METRIC_COL_WIDTH}> |
| 37 | <Text bold={isSection} color={isSection ? undefined : Colors.LightBlue}> |
| 38 | {isSubtle ? ` ↳ ${title}` : title} |
| 39 | </Text> |
| 40 | </Box> |
| 41 | {values.map((value, index) => ( |
| 42 | <Box width={MODEL_COL_WIDTH} key={index}> |
| 43 | <Text>{value}</Text> |
| 44 | </Box> |
| 45 | ))} |
| 46 | </Box> |
| 47 | ); |
| 48 | |
| 49 | export const ModelStatsDisplay: React.FC = () => { |
| 50 | const { stats } = useSessionStats(); |
nothing calls this directly
no outgoing calls
no test coverage detected