chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-11 01:55:22 +00:00
parent 3c6be604ec
commit 1c49b2ed67
2 changed files with 2 additions and 7 deletions
+1 -3
View File
@@ -294,9 +294,7 @@ const mapUsage = (usage: GeminiUsage | undefined) => {
// when the visible component is reported — otherwise we'd fabricate an
// inclusive number from a partial breakdown.
const outputTokens =
usage.candidatesTokenCount !== undefined
? usage.candidatesTokenCount + (usage.thoughtsTokenCount ?? 0)
: undefined
usage.candidatesTokenCount !== undefined ? usage.candidatesTokenCount + (usage.thoughtsTokenCount ?? 0) : undefined
return new Usage({
inputTokens: usage.promptTokenCount,
outputTokens,