(tokens?: number)
| 523 | }; |
| 524 | |
| 525 | const formatTokens = (tokens?: number) => { |
| 526 | if (!tokens) return "0"; |
| 527 | if (tokens >= 1000) { |
| 528 | return `${(tokens / 1000).toFixed(1)}k`; |
| 529 | } |
| 530 | return tokens.toString(); |
| 531 | }; |
| 532 | |
| 533 | if (!run) { |
| 534 | return ( |
no outgoing calls
no test coverage detected