(bytes: number)
| 106 | } |
| 107 | |
| 108 | export function estimateTokenCountFromBytes(bytes: number): number { |
| 109 | return Math.max(1, Math.ceil(bytes / 4)); |
| 110 | } |
| 111 | |
| 112 | function formatPath(filePath: string | null, redactPaths: boolean): string { |
| 113 | if (!filePath) { |
no outgoing calls
no test coverage detected