# fix\(providers\): keep one start time per Pi tool call · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/075d281d4ed8faabd9344039d8dc0945796afe13)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 075d281d4ed8faabd9344039d8dc0945796afe13

Requested commit: 075d281d4ed8faabd9344039d8dc0945796afe13

Commit: 075d281d4ed8faabd9344039d8dc0945796afe13

Tree: ba9996a714df87f5cf958969fe78067cfcf32964

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(providers): keep one start time per Pi tool call

Every tool lifecycle event passed the current time as `startedAt`, so each
update rewrote the start timestamp and a completed tool always rendered with
zero duration. The turn now remembers the first time it saw each
`toolCallId` and reuses it for later updates and completion.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [f30d33e771b5e67973d96aa8e80382921dc0de44](https://git.cafe/stienswout/t3code/commit/f30d33e771b5e67973d96aa8e80382921dc0de44?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/075d281d4ed8faabd9344039d8dc0945796afe13?format=markdown)
