(tokens?: number)
| 70 | }; |
| 71 | |
| 72 | const formatTokens = (tokens?: number) => { |
| 73 | if (!tokens) return "0"; |
| 74 | if (tokens >= 1000) { |
| 75 | return `${(tokens / 1000).toFixed(1)}k`; |
| 76 | } |
| 77 | return tokens.toString(); |
| 78 | }; |
| 79 | |
| 80 | const handleRunClick = (run: AgentRunWithMetrics) => { |
| 81 | // If there's a callback, use it (for full-page navigation) |
no outgoing calls
no test coverage detected