zen: fix reasoning token for openai compatible endpoint

This commit is contained in:
Frank 2026-05-10 13:35:59 -04:00
commit 56d818fc34
3 changed files with 4 additions and 17 deletions

View file

@ -53,7 +53,7 @@ export function UsageSection() {
}
const calculateTotalOutputTokens = (u: Awaited<ReturnType<typeof getUsageInfo>>[0]) => {
return u.outputTokens + (u.reasoningTokens ?? 0)
return u.outputTokens
}
const goPrev = async () => {