Skip to content

Commit d3368ab

Browse files
committed
docs(sessions): condense ContextUsage.cost comment to one line
Generated-By: PostHog Code Task-Id: f6d673c3-965e-4598-a4bd-663f2651a5a5
1 parent f72c082 commit d3368ab

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

packages/core/src/sessions/contextUsage.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ export interface ContextUsage {
1515
used: number;
1616
size: number;
1717
percentage: number;
18-
/**
19-
* Cumulative estimated cost of the whole session, summed across turns. `used`
20-
* is a point-in-time snapshot of resident context, but each turn's cost is a
21-
* spend that accrues, so cost is totalled rather than replaced. `null` when
22-
* no turn reported a cost (e.g. codex, which emits tokens without a cost).
23-
*/
18+
/** Cumulative estimated session cost, summed across turns; `null` if none reported (e.g. codex). */
2419
cost: { amount: number; currency: string } | null;
2520
breakdown: ContextBreakdown | null;
2621
}

0 commit comments

Comments
 (0)