Commit: c22af65

Date: July 8, 2025 at 8:40 PM

AppendEvent takes Session and Event directly

(I cannot think of any other options we want to add in the future)

and also modifies the provided Session object's Events field

to match the python and java's SDK.

For example, in Java, the doc for Appends explicitely states

BaseSessionService's Appends appends an event to an in-memory

session object.

https://google.github.io/adk-docs/api-reference/java/com/google/adk/sessions/BaseSessionService.html#appendEvent(com.google.adk.sessions.Session,com.google.adk.events.Event)