Skip to content

[BUG]: Event Compaction event doesn't have token usage metadata. #4014

Closed

Description

@MahorShekhar

Event compaction event doesn't have LLM usage metadata. Since it is llm request, we should be able to see token usage at least.

also plugins are not applicable for event compaction event as well.

Activity

  1. added
    core
    on Dec 24, 2025
  2. added theissue type on Dec 24, 2025
  3. klateefa commented on Jan 6, 2026

    @klateefa

    @MahorShekhar Thanks for reporting!
    Compaction events do call the LLM, but token usage wasn’t being recorded.That’s why usage metadata was missing.
    Plugin support for compaction events is still not supported by design.
    There is an open PR #4026 that adds token usage tracking for compaction events.
    so this issue should be fixed once it’s merged,Please let us know if you notice anything else.
    Thank you!

  4. self-assigned this
    on Jan 6, 2026
  5. added
    answered
    on Feb 3, 2026
  6. self-assigned this
    on Apr 24, 2026
  7. added a commit that references this issue on Apr 24, 2026
    5ce33b9
  8. added a commit that references this issue on Aug 11, 2026
    255439f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

answeredcore

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions