Files
Shahin Saadati 66d062035e Extend the compaction summarizer section to Kotlin (#2161)
* Extend the compaction summarizer section to Kotlin

The Define a Summarizer group showed Python, Java and TypeScript but not
Kotlin, and two lines of surrounding prose understated Kotlin as a
result: one attributed LlmEventSummarizer to Python and Java only, the
other said only Python and Java can customize the prompt template.
Kotlin has had LlmEventSummarizer since v0.3.0 and exposes
promptTemplate as a constructor parameter.

This is partial coverage rather than an untouched page - the page is
already Kotlin-badged and has a Kotlin tab for the token-threshold
config. That tab is inline, as are all four siblings in this group, so
the new tab is inline too rather than the new .kt file the backlog
suggested; mixing forms between two Kotlin tabs on one page would be
worse than either choice on its own.

* Correct the Java summarizer property name to promptTemplate

adk-java's LlmEventSummarizer exposes promptTemplate, not prompt_template;
only Python uses the snake_case name.

---------

Co-authored-by: Shahin Saadati <3443249+happyhuman@users.noreply.github.com>
2026-08-31 11:12:56 -07:00
..