Skip to content

feat: Add event compaction framework in Java ADK (part 1)#696

Closed
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_850147930
Closed

feat: Add event compaction framework in Java ADK (part 1)#696
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_850147930

Conversation

@copybara-service

Copy link
Copy Markdown

feat: Add event compaction framework in Java ADK (part 1)

This change introduces the bases for event compaction to the ADK. It includes:

  • Adding an EventCompaction field to EventActions.
  • Defining BaseEventSummarizer and EventCompactor interfaces.
  • Implementing LlmEventSummarizer for LLM-based summarization.
  • Implementing SlidingWindowEventCompactor to manage compaction based on a sliding window configuration.
  • Adding tests for the new compaction logic.

This change introduces the bases for event compaction to the ADK. It includes:
- Adding an EventCompaction field to EventActions.
- Defining BaseEventSummarizer and EventCompactor interfaces.
- Implementing LlmEventSummarizer for LLM-based summarization.
- Implementing SlidingWindowEventCompactor to manage compaction based on a sliding window configuration.
- Adding tests for the new compaction logic.

PiperOrigin-RevId: 850147930
@copybara-service copybara-service Bot closed this Dec 30, 2025
@copybara-service copybara-service Bot deleted the test_850147930 branch December 30, 2025 02:59
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