feat(tui): add average TPS to status bar#22345
feat(tui): add average TPS to status bar#22345KonstantinMirin wants to merge 1 commit intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: I found several related PRs that may be duplicates or closely related to PR #22345:
These PRs should be reviewed to determine if they're addressing the same feature or if there's overlap in implementation. PR #21133 seems particularly relevant given the matching scope (footer, sidebar, TPS display). |
f2ed0f3 to
d9f7cfa
Compare
Issue for this PR
Closes #22344
Type of change
What does this PR do?
Adds average output tokens-per-second (TPS) to the TUI status bar, displayed before context size after a response completes. The metric is computed from data already on
AssistantMessage:tokens.output / ((time.completed - time.created) / 1000).Shows up as "42 t/s · 1.2K (12%) · $0.05" in:
TPS only appears on completed messages (requires
time.completed), so it won't show mid-stream or for incomplete responses.How did you verify your code works?
bun typecheckpasses across all packagesScreenshots / recordings
N/A — TUI text change
Checklist