You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8cd3b12
Browse filesBrowse the repository at this point in the historyBrowse files
fix(eval): preserve live usage without extra inference calls
Merge #7323
Gemini Live may send token usage separately from response content, and
evaluation conversion dropped those reports. Preserve usage-bearing events,
including empty and non-text content, and merge standalone usage into a
compatible model event (same author, model and Live connection) without
mutating input events or adding inference calls. A report with no compatible
model event is kept and counts as the one model call it represents.
Fixes#7321
Co-authored-by: Yi Liu <[email protected]>
COPYBARA_INTEGRATE_REVIEW=#7323 from yang0228:codex/7321-live-eval-usage 2d2d71d
PiperOrigin-RevId: 1011019927
0 commit comments