Skip to content

Commit 3d35e44

Browse files
committed
add A2AFastApiApplication and A2ARESTFastApiApplication mentions
1 parent a48292d commit 3d35e44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/migrations/v1_0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ request_handler = DefaultRequestHandler(
192192

193193
## 4. Server: Application Setup
194194

195-
The `A2AStarletteApplication` wrapper class has been removed. Server setup now uses **Starlette route factory functions** directly, giving you full control over the routing.
195+
The `A2AStarletteApplication`, `A2AFastApiApplication` and `A2ARESTFastApiApplication` wrapper classes have been removed. Server setup now uses **Starlette route factory functions** directly, giving you full control over the routing.
196196

197197
**Before (v0.3):**
198198
```python
@@ -280,10 +280,10 @@ async with client:
280280
## 6. Client: Sending Messages & Handling Responses
281281

282282
Key differences:
283+
- `send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
283284
- `send_message_streaming()``send_message()` (unified method)
284285
- `SendStreamingMessageRequest``SendMessageRequest`
285286
- `MessageSendParams` wrapper is gone; `message` is a field directly on `SendMessageRequest`
286-
- `send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
287287
- Each `StreamResponse` has a `payload` which is one of: `'task'`, `'message'`, `'status_update'`, `'artifact_update'`. Use `HasField()` to check which field is set.
288288
- Agent outputs should now be published as **Artifacts**, not status message text
289289

0 commit comments

Comments
 (0)