style(ai-tts): keep Gemini cost comment prettier-clean

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
404oopsandClaude Opus 5.5 authored and Daniel Salazar committed 2026-10-17 00:27:40 -04:00
1 parent 98140ca09f
commit f80f479a19
1 file changed
+1 -1
@@ -147,7 +147,7 @@ const upstreamFailure = (message: string): HttpError =>
const responseTooLarge = (maxBytes: number): HttpError =>
upstreamFailure(`Gemini TTS response exceeds ${maxBytes} bytes`);
/** µ¢ for `tokens` at a cents-per-1M-tokens rate, which is µ¢ per token. */
/** The µ¢ cost of `tokens` at a cents-per-1M rate, which is µ¢ per token. */
const tokenCost = (tokens: number, centsPerMillion: number): number =>
Math.max(1, Math.ceil(tokens * centsPerMillion));