Skip to content

A part says when it ran - #12

Merged
softov merged 1 commit into
mainfrom
agent/20261124-0945-a-part-says-when-it-ran
Nov 24, 2026
Merged

softov merged 1 commit into
mainfrom
agent/20261124-0945-a-part-says-when-it-ran

Conversation

@softov

@softov softov commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Plan agent/20261124-0945-a-part-says-when-it-ran.

  • Each content part has optional startedAt and endedAt (PartTimes).
  • A run stamps a model reply's parts from their delta runs, or with the model call's span when the reply did not stream, and a tool result with the time its tool ran.
  • A model request carries neither field.

pnpm test: 94 files, 1207 cases. ahpd's agent-cofold reads the times for a restored reasoning part's duration.

@softov
softov merged commit cb40b7c into main Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant