Closed
Labels
services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
Description
During Event Compaction, getting error
File "/Users/Shekhar/agno_ai_poc/venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/base_llm_flow.py", line 365, in _run_one_step_async
async for event in agen:
yield event
File "/Users/Shekhar/agno_ai_poc/venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/base_llm_flow.py", line 455, in _preprocess_async
async for event in agen:
yield event
File "/Users/Shekhar/agno_ai_poc/venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/contents.py", line 53, in run_async
llm_request.contents = _get_contents(
~~~~~~~~~~~~~^
invocation_context.branch,
^^^^^^^^^^^^^^^^^^^^^^^^^^
invocation_context.session.events,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
agent.name,
^^^^^^^^^^^
)
^
File "/Users/Shekhar/agno_ai_poc/venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/contents.py", line 378, in _get_contents
events_to_process = _process_compaction_events(raw_filtered_events)
File "/Users/Shekhar/agno_ai_poc/venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/contents.py", line 298, in _process_compaction_events
compaction.start_timestamp is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'start_timestamp'
Activity
EdmondDantes21 commentedon Nov 25, 2025
In case you are also using DatabaseSessionService: #3487
Divyadarshee commentedon Nov 27, 2025
@hangfei @seanzhougoogle @Jacksunwei @polong-lin Any update on this?
DeanChensj commentedon Nov 27, 2025
Hi @MahorShekhar , this should be addressed in 0094eea where we replace the individual column with a single JSON serialization.
Divyadarshee commentedon Nov 27, 2025
@DeanChensj but i am still seeing this issue in 0.1.19.
DeanChensj commentedon Nov 27, 2025
Hi @Divyadarshee , the fix is not in the latest release yet