We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a94ce commit ec08ee5Copy full SHA for ec08ee5
1 file changed
python/samples/getting_started/agents/a2a/agent_with_a2a.py
@@ -53,7 +53,7 @@ async def main():
53
resolver = A2ACardResolver(httpx_client=http_client, base_url=a2a_agent_host)
54
55
# Get agent card
56
- agent_card = await resolver.get_agent_card(relative_card_path="/.well-known/agent.json")
+ agent_card = await resolver.get_agent_card()
57
print(f"Found agent: {agent_card.name} - {agent_card.description}")
58
59
# Create A2A agent instance
@@ -66,7 +66,7 @@ async def main():
66
67
# Invoke the agent and output the result
68
print("\nSending message to A2A agent...")
69
- response = await agent.run("Tell me a joke about a pirate.")
+ response = await agent.run("What are your capabilities?")
70
71
# Print the response
72
print("\nAgent Response:")
0 commit comments