Skip to content

fix: consider file outputs and tool calls for time to first output#15620

Merged
lgrammel merged 5 commits into
mainfrom
lg/E3w3nUp
May 27, 2026
Merged

fix: consider file outputs and tool calls for time to first output#15620
lgrammel merged 5 commits into
mainfrom
lg/E3w3nUp

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

Background

The time to first output is crucial (not time to first token). The time between chunks, not tokens, is measured.

Summary

Consider tool calls, file outputs, etc when calculating time to first output.

Renamed:

  • timeToFirstOutputTokenMs -> timeToFirstOutputMs
  • timeBetweenOutputTokensMs -> timeBetweenOutputChunksMs
  • OutputTokenTimingStats -> OutputChunkTimingStats
  • isGeneratedOutputChunk -> isOutputChunk

Related Issues

Builds on #15310

@lgrammel lgrammel merged commit 76fd58c into main May 27, 2026
48 checks passed
@lgrammel lgrammel deleted the lg/E3w3nUp branch May 27, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants