diff --git a/src/google/adk/flows/llm_flows/request_confirmation.py b/src/google/adk/flows/llm_flows/request_confirmation.py index 612d4e42..358cae80 100644 --- a/src/google/adk/flows/llm_flows/request_confirmation.py +++ b/src/google/adk/flows/llm_flows/request_confirmation.py @@ -48,7 +48,8 @@ class _RequestConfirmationLlmRequestProcessor(BaseLlmRequestProcessor): agent = invocation_context.agent - events = invocation_context.session.events + # Only look at events in the current branch. + events = invocation_context._get_events(current_branch=True) if not events: return