Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SubagentsArea: what it touches
Bug FixesKind: in v2.1.273,
Bug FixesSection of the release
What
The function that computes a sub-agent task's token usage, used for cost and usage display, now skips iterations of type advisor_message or compaction when looking for the most recent usable iteration to report on. If no valid message iteration is found, it falls back to the running totals instead. Numeric validation on each token field is also stricter than before.
Why
This avoids showing token counts drawn from an advisor message or a compaction step (where the model condenses conversation history) as if they were a normal turn's usage, keeping the reported token numbers more accurate.