(req: Request, res: Response)
| 147 | } |
| 148 | |
| 149 | export function countTokens(req: Request, res: Response): void { |
| 150 | const body = req.body as AnthropicRequest; |
| 151 | res.json({ input_tokens: estimateInputTokens(body) }); |
| 152 | } |
| 153 | |
| 154 | // ==================== 身份探针拦截 ==================== |
| 155 |
nothing calls this directly
no test coverage detected