Files
opencode/packages
Kit Langton 0d4f8d126f refactor(llm): drop Usage.totalInput / totalOutput helpers
The additive contract delivers value at the mapper boundary — every
field is non-overlapping and non-negative, so any caller summing
arbitrary subsets is correct by construction. Two-line helpers that
just sum three or two known fields add API surface without paying for
themselves, and there are no in-tree consumers today. If v2 wants them
at integration time, the right place is a getter on the `Schema.Class`
(matching the `LLMResponse.text` / `reasoning` / `toolCalls` pattern in
the same file), not a static namespace helper.
2026-05-10 19:15:46 -04:00
..
2026-05-10 02:34:36 +00:00
2026-05-10 12:14:11 -04:00
2026-05-10 02:34:36 +00:00
2026-01-21 14:36:21 -06:00
2026-05-10 16:44:40 +00:00
2026-05-10 02:34:36 +00:00
2026-05-10 16:22:29 +00:00
2026-05-10 02:34:36 +00:00
2026-05-10 02:34:36 +00:00
2026-05-10 03:51:34 -04:00