Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/samples/getting_started/agents/a2a/agent_with_a2a.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:")
Expand Down
Loading