MCPcopy Create free account
hub / github.com/anus-dev/ANUS / StatRow

Function StatRow

packages/cli/src/ui/components/ModelStatsDisplay.tsx:29–47  ·  view source on GitHub ↗
({
  title,
  values,
  isSubtle = false,
  isSection = false,
})

Source from the content-addressed store, hash-verified

27}
28
29const 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
49export const ModelStatsDisplay: React.FC = () => {
50 const { stats } = useSessionStats();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected