From 3824df8e02f6255e165fcec79328cbd246fb2ec0 Mon Sep 17 00:00:00 2001 From: Google Team Member Date: Wed, 13 Aug 2025 12:14:11 -0700 Subject: [PATCH] fix: Fix the path for agent card in A2A demo `AGENT_CARD_WELL_KNOWN_PATH` already contains a leading slash so is not needed in the `agent_card` URL. PiperOrigin-RevId: 794682446 --- contributing/samples/a2a_root/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing/samples/a2a_root/agent.py b/contributing/samples/a2a_root/agent.py index c913a6fad..6667de00b 100755 --- a/contributing/samples/a2a_root/agent.py +++ b/contributing/samples/a2a_root/agent.py @@ -20,5 +20,5 @@ description=( "Helpful assistant that can roll dice and check if numbers are prime." ), - agent_card=f"http://localhost:8001/{AGENT_CARD_WELL_KNOWN_PATH}", + agent_card=f"http://localhost:8001{AGENT_CARD_WELL_KNOWN_PATH}", )