Skip to content

Commit 08b92d9

Browse files
committed
remove unchanged
1 parent a24eb07 commit 08b92d9

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

docs/migrations/v1_0/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This guide covers the breaking changes introduced in `a2a-sdk` v1.0 and explains
1616
6. [Client: Sending Messages & Handling Responses](#6-client-sending-messages--handling-responses)
1717
7. [Client: Push Notifications Config](#7-client-push-notifications-config)
1818
8. [Helper Utilities](#8-helper-utilities)
19-
9. [Import Path Changes (Quick Reference)](#9-import-path-changes-quick-reference)
2019

2120
---
2221

@@ -396,19 +395,3 @@ text = get_artifact_text(chunk.artifact_update.artifact)
396395

397396
> In v1.0, agents are expected to publish results as **Artifacts** rather than embedding text in status update messages. Use `TaskArtifactUpdateEvent` (via `event_queue.enqueue_event()`) in your `AgentExecutor` and read from `chunk.artifact_update` on the client side.
398397
399-
---
400-
401-
## 9. Import Path Changes (Quick Reference)
402-
403-
| What | v0.3 import | v1.0 import |
404-
|---|---|---|
405-
| HTTP client for agent | `from a2a.client import A2AClient` | `from a2a.client import create_client` (or `ClientFactory`) |
406-
| Card resolver | `from a2a.client import A2ACardResolver` | `from a2a.client import A2ACardResolver` *(unchanged)* |
407-
| Request handler | `from a2a.server.request_handlers.default_request_handler import DefaultRequestHandler` | `from a2a.server.request_handlers import DefaultRequestHandler` |
408-
| Server setup | `from a2a.server.apps import A2AStarletteApplication` | `from a2a.server.routes import create_jsonrpc_routes, create_agent_card_routes` |
409-
| REST routes | `from a2a.server.apps import A2AStarletteApplication` | `from a2a.server.routes import create_rest_routes` |
410-
| Agent execution | `from a2a.server.agent_execution import AgentExecutor, RequestContext` | *(unchanged)* |
411-
| Task store | `from a2a.server.tasks.inmemory_task_store import InMemoryTaskStore` | *(unchanged)* |
412-
| Types | `from a2a.types import AgentCard, Message, Part, Role, ...` | `from a2a.types import AgentCard, Message, Part, Role, AgentInterface, ...` |
413-
| Helpers | `from a2a.utils.artifact import get_artifact_text` | `from a2a.helpers import get_artifact_text` |
414-
| Message helpers | *(manual construction)* | `from a2a.helpers import new_text_message, new_text_artifact, ...` |

0 commit comments

Comments
 (0)