TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/gemini-image-usage
6f10dac1 Merge 8106603e97bd0d17e0b2984a9d99c16f08f8f09a into d5645cfd4d1b9cfc877f7d4d714517e166a99ce3
by Tom Beckenham
T
Succeeded
fix/gemini-image-usage
6f10dac1 fix(gemini): surface token usage from image generateContent path (#330) The Gemini image adapter hardcoded `usage: undefined`, so the `image:usage` devtools event never fired for Gemini image generation even though the `generateContent` response carries `usageMetadata`. Parse `usageMetadata` (promptTokenCount / candidatesTokenCount / totalTokenCount) into `ImageGenerationResult.usage` on the native path, matching the convention used by the Gemini text adapter. The Imagen (`generateImages`) path is left as-is because that SDK response type does not expose `usageMetadata`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Previous page
Previous
Next
Next page