Skip to content

Commit aef5bc0

Browse files
committed
remove unecessary
1 parent c7ad600 commit aef5bc0

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

docs/migrations/v1_0/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -381,17 +381,3 @@ from a2a.helpers import (
381381
)
382382
```
383383

384-
**Before (v0.3) — reading status message text:**
385-
```python
386-
text = chunk.root.result.status.message.parts[0].root.text
387-
```
388-
389-
**After (v1.0) — reading artifact text:**
390-
```python
391-
from a2a.helpers import get_artifact_text
392-
393-
text = get_artifact_text(chunk.artifact_update.artifact)
394-
```
395-
396-
> In v1.0, agents are expected to publish results as **Artifacts**. Use `TaskArtifactUpdateEvent` (via `event_queue.enqueue_event()`) in your `AgentExecutor` and read from `chunk.artifact_update` on the client side.
397-

0 commit comments

Comments
 (0)