(tokens: number)
| 35 | |
| 36 | // Format token count |
| 37 | const formatTokens = (tokens: number) => { |
| 38 | if (tokens >= 1000) { |
| 39 | return `${(tokens / 1000).toFixed(1)}k`; |
| 40 | } |
| 41 | return tokens.toString(); |
| 42 | }; |
| 43 | |
| 44 | return ( |
| 45 | <AnimatePresence> |
no outgoing calls
no test coverage detected