Skip to content

fix: replay session_events into a scratch session and delete it afterwards - #7172

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_987536032
Open

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

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

fix: replay session_events into a scratch session and delete it afterwards

AdkApp.async_stream_query(session_events=...) raised AttributeError in the
vertexai template and, in every template, left behind the managed session it
created for the replayed events. The session is now read back before the
replay and deleted when the query ends.

Fixes #7118, fixes #7119

@copybara-service
copybara-service Bot requested a review from a team as a code owner September 28, 2026 14:28
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Sep 28, 2026
…wards

`AdkApp.async_stream_query(session_events=...)` raised `AttributeError` in the
`vertexai` template and, in every template, left behind the managed session it
created for the replayed events. The session is now read back before the
replay and deleted when the query ends.

Fixes #7118, fixes #7119

PiperOrigin-RevId: 987536032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: vertex-ai Issues related to the googleapis/python-aiplatform API. google-contributor size: l Pull request size is large.

Projects

None yet

1 participant