Add Usage Metrics
Nucleic-Session: B4F51091-BE3C-42D3-BCDD-8E89E83543D0 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -263,7 +263,7 @@ final class IncrementalTranscriptProjection {
|
|||||||
if seenToolItem.insert(c.toolCallID).inserted { creations[r] = .tool }
|
if seenToolItem.insert(c.toolCallID).inserted { creations[r] = .tool }
|
||||||
case .toolResult(let result):
|
case .toolResult(let result):
|
||||||
spans[result.toolCallID]?.resultSeen = true
|
spans[result.toolCallID]?.resultSeen = true
|
||||||
case .toolCallInputDelta, .fileChange, .approvalResolved:
|
case .toolCallInputDelta, .fileChange, .approvalResolved, .codexUsage:
|
||||||
break // refs (if any) tracked above; creates nothing
|
break // refs (if any) tracked above; creates nothing
|
||||||
case .turnCompleted, .runFinished:
|
case .turnCompleted, .runFinished:
|
||||||
creations[r] = .separator
|
creations[r] = .separator
|
||||||
|
|||||||
Reference in New Issue
Block a user