You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VertexaiSession service does not support EventCompaction yet #3465
needs review[Status] The PR/issue is awaiting review from the maintainerservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Is your feature request related to a problem? Please describe.
We want to use EventCompaction feature to optimize the token and latency of our invocations. However, while using vertexai session service I observed that compaction property of compacted events are not getting populated. This leads to compaction of all the events on every call and the compaction functionality isn't working. This also leads to wasted LLM calls for compaction. I see that its currently marked as TODO in the code -
@maheshwaritanay Thank you for reporting this. I understand the request is currently under review. Please keep me posted if anything else is needed. Thanks for your patience.
Also waiting on this. From what I remember, event compaction works with InMemorySessionService and DatabaseSessionService, so would expect it to work with VertexAiSessionService as well.
needs review[Status] The PR/issue is awaiting review from the maintainerservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
Activity
hangfei commentedon Nov 14, 2025
@DeanChensj to help take a look.
klateefa commentedon Nov 26, 2025
@maheshwaritanay Thank you for reporting this. I understand the request is currently under review. Please keep me posted if anything else is needed. Thanks for your patience.
maheshwaritanay commentedon Jan 20, 2026
@klateefa , is there any update on supporting this?
bgautham-dev commentedon Feb 13, 2026
@klateefa any update on this issue
alexplaka commentedon Mar 2, 2026
Also waiting on this. From what I remember, event compaction works with
InMemorySessionServiceandDatabaseSessionService, so would expect it to work withVertexAiSessionServiceas well.fix: Store and retrieve EventCompaction via custom_metadata in Vertex…
fix: Store and retrieve EventCompaction via custom_metadata in Vertex…