From ec08ee541dc5a737d54da067ca0d1080b9c55d0d Mon Sep 17 00:00:00 2001 From: Giles Odigwe <79032838+giles17@users.noreply.github.com> Date: Mon, 24 Nov 2025 02:57:00 -0800 Subject: [PATCH] a2a sample update (#2391) --- python/samples/getting_started/agents/a2a/agent_with_a2a.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/samples/getting_started/agents/a2a/agent_with_a2a.py b/python/samples/getting_started/agents/a2a/agent_with_a2a.py index 286edd4b40..2f0e6b33d2 100644 --- a/python/samples/getting_started/agents/a2a/agent_with_a2a.py +++ b/python/samples/getting_started/agents/a2a/agent_with_a2a.py @@ -53,7 +53,7 @@ async def main(): resolver = A2ACardResolver(httpx_client=http_client, base_url=a2a_agent_host) # Get agent card - agent_card = await resolver.get_agent_card(relative_card_path="/.well-known/agent.json") + agent_card = await resolver.get_agent_card() print(f"Found agent: {agent_card.name} - {agent_card.description}") # Create A2A agent instance @@ -66,7 +66,7 @@ async def main(): # Invoke the agent and output the result print("\nSending message to A2A agent...") - response = await agent.run("Tell me a joke about a pirate.") + response = await agent.run("What are your capabilities?") # Print the response print("\nAgent Response:")