Skip to content

(bug) Thinking timer starts when the tab opens #6934

Description

@mmabrouk

When I open a tab with an existing response in progress, I expect the thinking timer to show how long the response has been running since the message was sent. Instead, the timer starts counting from when I opened the tab.

Steps to reproduce

  1. Send a message that starts a response.
  2. Leave or close the tab while the response continues.
  3. Open the tab again.
  4. Observe the elapsed time shown next to Working.

Expected behavior

The elapsed time is calculated from the message send time, using the timestamp already available to the client.

Actual behavior

The elapsed time starts at zero when the tab opens, so it understates how long the response has been running.

Evidence

The supplied screenshot shows Working · 0:37 after opening the tab. The timer reflects time since the tab was opened rather than time since the message was sent.

Environment

Agenta web application. Version and browser were not provided.

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions