We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2367901 commit 1699b09Copy full SHA for 1699b09
src/google/adk/flows/llm_flows/request_confirmation.py
@@ -78,8 +78,9 @@ async def run_async(
78
and len(function_response.response.values()) == 1
79
and 'response' in function_response.response.keys()
80
):
81
- # ADK web client will send a request that is always encapsulated in a
82
- # 'response' key.
+ # ADK client must send a resuming run request with a function response
+ # that always encapsulate the confirmation result with a 'response'
83
+ # key
84
tool_confirmation = ToolConfirmation.model_validate(
85
json.loads(function_response.response['response'])
86
)
0 commit comments