agent: Add turn statistics to agent panel#46390
Conversation
|
Saw this PR and checked it. Thank you! One question: Would it be nice to keep the stats in same position, eg. at left side instead of right, so that it doesn't move when the agent is done? Screen.Recording.2026-01-09.at.10.32.55.AM.mov |
|
Managed to create an example. I can open PR if that's okay.
ux-zd-turn-stats.mov.mp4 |
|
This is really nice @mikayla-maki – super useful for getting a feeling of the agent working (and cost). One thought: the current duration is measured from send, which mixes time to first token with throughput (how fast tokens stream once they start). For comparing different models/providers, it would be valuable to also surface a throughput indicator calculated as:
i.e. time between first and last token only. That would let us distinguish “slow to start but fast once streaming” from “fast to start but decodes slowly,” instead of collapsing both behaviors into a single wall-clock duration. Since I know this PR has already merged, but I wasn’t sure where else to write this comment. Thanks for reading. |
I really enjoyed this feature in Claude Code. Helps me get a sense of how effortful something is.
Release Notes: