mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-08 13:55:06 -05:00
- Resolves #9731 ### Changes 🏗️ - feat: Add "Steps" showing `node_execution_count` to agent run view - Add `GraphExecutionMeta.stats.node_exec_count` attribute - feat(backend/executor): Send graph execution update after *every* node execution (instead of only I/O node executions) - Update graph execution stats after every node execution - refactor: Move `GraphExecutionMeta` stats into sub-object (`cost`, `duration`, `total_run_time` -> `stats.cost`, `stats.duration`, `stats.node_exec_time`) ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - View an agent run with 1+ steps on `/library/agents/[id]` - [x] "Info" section layout doesn't break - [x] Number of steps is shown - Initiate a new agent run - [x] "Steps" increments in real time during execution