Skip to content

fix: aggregate ledger costs before rounding - #94

Merged
EvanProgramming merged 1 commit into
mainfrom
codex/fix-78
Sep 9, 2026
Merged

EvanProgramming merged 1 commit into
mainfrom
codex/fix-78

Conversation

@EvanProgramming

Copy link
Copy Markdown
Owner

Summary

  • aggregate frozen per-million pricing numerators from the SQLite ledger before converting to the stored sub-cent unit
  • preserve immutable per-attempt pricing snapshots while avoiding request-boundary precision loss
  • add short-call and mixed-usage regression coverage

Validation

@EvanProgramming
EvanProgramming merged commit 25cff8b into main Sep 9, 2026
6 checks passed
@EvanProgramming
EvanProgramming deleted the codex/fix-78 branch September 9, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant