diff --git a/src/google/adk/flows/llm_flows/request_confirmation.py b/src/google/adk/flows/llm_flows/request_confirmation.py index ac1806d8..f7b7f7f6 100644 --- a/src/google/adk/flows/llm_flows/request_confirmation.py +++ b/src/google/adk/flows/llm_flows/request_confirmation.py @@ -78,8 +78,9 @@ class _RequestConfirmationLlmRequestProcessor(BaseLlmRequestProcessor): and len(function_response.response.values()) == 1 and 'response' in function_response.response.keys() ): - # ADK web client will send a request that is always encapsulated in a - # 'response' key. + # ADK client must send a resuming run request with a function response + # that always encapsulate the confirmation result with a 'response' + # key tool_confirmation = ToolConfirmation.model_validate( json.loads(function_response.response['response']) )