chore: Update the comments of request confirmation preprocessor

Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com>
PiperOrigin-RevId: 858816547
This commit is contained in:
Xiang (Sean) Zhou
2026-01-20 17:04:05 -08:00
committed by Copybara-Service
parent 2367901ec5
commit 1699b090ed
@@ -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'])
)