Skip to content

Commit 7cebbc5

Browse files
committed
update AgentCard sample
1 parent 6df414e commit 7cebbc5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/migrations/v1_0/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ Key changes:
201201
from a2a.types import AgentCard, AgentCapabilities, AgentSkill
202202

203203
agent_card = AgentCard(
204-
name='My Agent',
205-
description='...',
204+
name='Hello World Agent',
205+
description='Returns Hello, World!',
206206
url='http://localhost:9999/',
207-
version='1.0.0',
207+
version='0.0.1',
208208
default_input_modes=['text/plain'],
209209
default_output_modes=['text/plain'],
210210
supports_authenticated_extended_card=True,
@@ -214,7 +214,7 @@ agent_card = AgentCard(
214214
streaming=True,
215215
),
216216
skills=[skill],
217-
examples=['example'],
217+
examples=['Hello, World!'],
218218
)
219219
```
220220

@@ -223,8 +223,8 @@ agent_card = AgentCard(
223223
from a2a.types import AgentCard, AgentCapabilities, AgentInterface, AgentSkill
224224

225225
agent_card = AgentCard(
226-
name='My Agent',
227-
description='...',
226+
name='Hello World Agent',
227+
description='Returns Hello, World!',
228228
supported_interfaces=[
229229
# JSON-RPC
230230
AgentInterface(
@@ -237,7 +237,7 @@ agent_card = AgentCard(
237237
url='http://localhost:50051/a2a/grpc/',
238238
)
239239
],
240-
version='1.0.0',
240+
version='0.0.1',
241241
default_input_modes=['text/plain'],
242242
default_output_modes=['text/plain'],
243243
capabilities=AgentCapabilities(

0 commit comments

Comments
 (0)