Skip to content

Python: DevUI - Tool call timestamps are being overwritten #1483

Closed

Description

When multiple tool calls happen, each new call updates the timestamp shown on all previous cards in the DevUI timeline.

As a result, every “Tool Call” and “Tool Result” ends up showing the same (latest) time instead of its actual creation time.

  • Expected: each tool event keeps its original timestamp.
  • Actual: all timestamps are overwritten with the latest one.
Image Image

Activity

  1. added and removed
    triageUsage: [Issues], Target: All issues that still need to be triaged
    on Oct 15, 2025
  2. juangcarmona commented on Oct 24, 2025

    @juangcarmona
    Author

    Hi, Victor Dibia (@victordibia) and Mark Wallace (@markwallace-microsoft) I'd say this oissue should be reopened (unless the fix didn't reach pypip.org).

    I've just upgraded to latest version, 1.0.0b251016, and I still see issues with times.

    Image

    Observation:

    • User and assistant message timestamps update dynamically over time instead of remaining fixed.
    • All items in the Events column share the same timestamp.
    • Refreshing the browser doesn’t fix the issue.

    First message (look at all the times in this screenshot):
    Image

    About to send a new message (obviously times seen under user and assitant messages are being updated according to system time):
    Image

    Just send the second message:
    Image

    And all the items in events column shows same time:
    Image

    I tried refreshing the browser but the weird behaviour with times is still there:
    Image

    Note:
    This is minor from a usability perspective but indicates a likely bug or bad practice in how timestamps are handled, either during event transformation or, most probably, in the UI rendering layer.

    Could you verify that message and event timestamps in DevUI are bound to immutable per-item timestamps from the payload, rather than recomputed or shared across renders?

    Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

pythonUsage: [Issues, PRs], Target: Python

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions