Skip to content

fix(maf): populate total token usage - #8

Merged
zxyao145 merged 1 commit into
mainfrom
feature/fix-codex-token-total
Aug 31, 2026
Merged

zxyao145 merged 1 commit into
mainfrom
feature/fix-codex-token-total

Conversation

@zxyao145

Copy link
Copy Markdown
Owner

Summary

  • compute TotalTokenCount from input and output token counts
  • share the usage mapping between streaming and non-streaming MAF responses
  • add regression coverage for completed-turn usage mapping

Testing

  • dotnet test tests/CodexSdk.MAF.Tests/CodexSdk.MAF.Tests.csproj --no-restore
  • dotnet test codexsdk.slnx --configuration Release --no-build --no-restore
  • dotnet build codexsdk.slnx --configuration Release --no-restore

NuGet packaging and publishing were not performed.

@zxyao145
zxyao145 merged commit ff162af into main Aug 31, 2026
4 checks passed
@zxyao145
zxyao145 deleted the feature/fix-codex-token-total branch September 19, 2026 04:26
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