See reply models, token usage, and tool timings on hover - #293
Open
dnouri wants to merge 2 commits into
Open
Conversation
Hover completed replies, thinking, and tools, or use C-h . for full help when terminal hover is clipped. Links, images, and buttons keep their own help. Replies show their own provider/model, message-level input/output tokens, and separate cache reads/writes. Thinking shows line count and its message's model. Tools show shortened command/path hints and their matching result's timestamp. Saved times show creation in local time, not exact completion; parallel tool results may be created after the batch finishes. Stream measures an observed assistant-message interval, not full request latency. Approximate output rates use reported output tokens, including reasoning and tool-call arguments where counted. Tool timing excludes argument streaming. Live timings survive folding and remain available in older output, but disappear on reload, resume, or a full history rebuild; saved metadata remains. Verified with make check (1,716 passing tests, one skip), terminal mouse/keyboard tests, and GUI tooltip checks.
Keep unfinished thinking out of reply tooltips after aborts or errors. Avoid unnecessary Markdown updates when changing hover metadata.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hover completed replies, thinking, and tools, or use C-h . for full help
when terminal hover is clipped. Links, images, and buttons keep their own
help.
Replies show their own provider/model, message-level input/output tokens,
and separate cache reads/writes. Thinking shows line count and its
message's model. Tools show shortened command/path hints and their matching
result's timestamp. Saved times show creation in local time, not exact
completion; parallel tool results may be created after the batch finishes.
Stream measures an observed assistant-message interval, not full request
latency. Approximate output rates use reported output tokens, including
reasoning and tool-call arguments where counted. Tool timing excludes
argument streaming. Live timings survive folding and remain available in
older output, but disappear on reload, resume, or a full history rebuild;
saved metadata remains.
Verified with make check (1,716 passing tests, one skip), terminal
mouse/keyboard tests, and GUI tooltip checks.