From 5206a592982f60b2d12550a85265990a59671e9e Mon Sep 17 00:00:00 2001 From: Sergei Lilichenko Date: Fri, 27 Mar 2026 15:56:46 -0700 Subject: [PATCH] Fix a bug in restaurant_finder sample Incorrect inputAction attribute is used to get the name of the action. --- samples/agent/adk/restaurant_finder/agent_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/agent/adk/restaurant_finder/agent_executor.py b/samples/agent/adk/restaurant_finder/agent_executor.py index c6e34d140..018a5528e 100644 --- a/samples/agent/adk/restaurant_finder/agent_executor.py +++ b/samples/agent/adk/restaurant_finder/agent_executor.py @@ -82,7 +82,7 @@ async def execute( if ui_event_part: logger.info(f"Received a2ui ClientEvent: {ui_event_part}") - action = ui_event_part.get("actionName") + action = ui_event_part.get("name") ctx = ui_event_part.get("context", {}) if action == "book_restaurant":