mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-16 23:43:10 +00:00
`checkpoint.completed_nodes` records every visit (one entry per re-entry of a looped node), so the billing handler emitted duplicate rows and multiplied `runtime_secs` by visit count. Dedup by node before iterating; duration is now correctly summed across visits exactly once. Per-visit usage isn't reachable in the current data model — `node_outcomes` is keyed by `node_id` and overwritten on each visit — so the billing row's token counts still reflect only the latest visit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||