[5/6] Show tool call durations / 展示工具调用耗时#3369
Conversation
14562c9 to
c4247fe
Compare
b149290 to
108f47e
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 108f47ea51
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Err string `json:"err,omitempty"` | ||
| ReadOnly bool `json:"readOnly"` | ||
| Truncated bool `json:"truncated,omitempty"` | ||
| DurationMs int64 `json:"durationMs,omitempty"` |
There was a problem hiding this comment.
Render the emitted duration in the frontend
When a tool result includes this new durationMs field, the desktop frontend still drops it: WireTool/Item have no durationMs, the tool_result reducer never copies it, and ToolCard only renders the status glyph (I checked desktop/frontend/src and there are no durationMs references). As a result the backend now emits timing data, but desktop users still won't see tool call durations for any completed tool call.
Useful? React with 👍 / 👎.
Summary / 摘要
Validation / 验证