Commit Graph

3 Commits

Author SHA1 Message Date
Shahin Saadati b39decfcfe Add Kotlin to the session rewind page (#2164)
* Add Kotlin to the session rewind page

The page was single-language: one bare Python fence, no tab structure,
and a badge div listing Python only. Kotlin has had Runner.rewindAsync
with matching semantics, so the code block is converted into a
Python/Kotlin tab group with the Python content kept verbatim.

Semantics were checked against the implementation rather than inferred
from the method name, since the page makes specific promises. Two hold:
AbstractRunner.rewindAsync appends a synthetic user event carrying
reversing state and artifact deltas, so rewound requests stay in the log
as the "How it works" section describes; and keys prefixed app: or user:
are skipped when the delta is computed, which is exactly the
"Global agent resources" limitation.

Worth knowing for anyone reading the interface: Runner.rewindAsync has a
default implementation that throws NotImplementedError. AbstractRunner
overrides it and InMemoryRunner extends AbstractRunner, so the documented
path works, but a custom Runner built straight on the interface would
not.

Runner.close was on the same backlog row and is left out: it is a
lifecycle concern with nothing to do with rewinding.

* Badge the rewind page with the version rewindAsync shipped in

The badge said Kotlin v0.8.0, the version adk-docs compiles against,
rather than the introducing release. Checking the tags, rewindAsync is
absent at v0.1.0 and v0.2.0 and first appears in AbstractRunner at
v0.3.0 - so the backlog row that recorded it as a v0.1.0 member was
wrong as well.
2026-08-31 11:10:36 -07:00
Kristopher Overholt 1c93532ca6 Fix broken external links to adk-python contributing/samples and other internal links (#1773)
* Add link to ignore

* Update links to code samples

* Fix links related to graphs and workflows

* Fix more sample links
2026-05-19 13:53:51 -07:00
adk-bot c3b035479c Update ADK doc according to issue #1113 - 2 - database schema migration for DatabaseSessionService (#1119)
* Update ADK doc for DatabaseSessionService migration

* refactor agent draft: use CLI script

* linked SessionDatabase docs to migration guide

- formatting updates to existing content

* respond to review feedback

* review updates

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@google.com>
2026-01-22 13:15:59 -08:00