Skip to content

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

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara_987536032
Oct 1, 2026
Merged

copybara-service[bot] merged 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
@copybara-service
copybara-service Bot force-pushed the copybara_987536032 branch 3 times, most recently from 1a97233 to f15b685 Compare October 1, 2026 13:20
…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: 991643489
@copybara-service
copybara-service Bot merged commit 3647753 into main Oct 1, 2026
5 checks passed
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