Skip to content

Add execution time tracking and display for each ReAct step #5

@FatBy

Description

@FatBy

Description

When the AI executes a multi-step task, it would be helpful to see how long each step took. This helps users understand performance bottlenecks and LLM response times.

Current Behavior

  • Execution steps are shown in the Task Monitor
  • No timing information displayed

Expected Behavior

  • Each step shows its duration (e.g., "2.3s")
  • Total task execution time shown at completion
  • Optionally: a simple bar chart of step durations

Suggested Approach

  1. Record Date.now() at step start/end in LocalClawService.ts
  2. Add duration field to execution step data
  3. Display in Task Monitor UI (src/components/houses/TaskHouse.tsx)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions