File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/samples/getting_started/agents/a2a Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ async def main():
5353 resolver = A2ACardResolver (httpx_client = http_client , base_url = a2a_agent_host )
5454
5555 # Get agent card
56- agent_card = await resolver .get_agent_card (relative_card_path = "/.well-known/agent.json" )
56+ agent_card = await resolver .get_agent_card ()
5757 print (f"Found agent: { agent_card .name } - { agent_card .description } " )
5858
5959 # Create A2A agent instance
@@ -66,7 +66,7 @@ async def main():
6666
6767 # Invoke the agent and output the result
6868 print ("\n Sending message to A2A agent..." )
69- response = await agent .run ("Tell me a joke about a pirate. " )
69+ response = await agent .run ("What are your capabilities? " )
7070
7171 # Print the response
7272 print ("\n Agent Response:" )
You can’t perform that action at this time.
0 commit comments