You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`MessageSendParams` wrapper is gone; `message` is a field directly on `SendMessageRequest`
286
+
-`send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
287
+
- Each `StreamResponse` has a `payload` which is one of: `'task'`, `'message'`, `'status_update'`, `'artifact_update'`. Use `HasField()` to check which field is set.
288
+
- Agent outputs should now be published as **Artifacts**, not status message text
-`MessageSendParams` wrapper is gone; `message` is a field directly on `SendMessageRequest`
334
-
-`send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
335
-
- Each `StreamResponse` has a `payload` which is one of: `'task'`, `'message'`, `'status_update'`, `'artifact_update'`. Use `HasField()` to check which field is set.
336
-
- Agent outputs should now be published as **Artifacts**, not status message text
337
-
338
336
> **Example**: [`helloworld/test_client.py` in PR #474](https://github.com/a2aproject/a2a-samples/pull/474/files#diff-f62c07d3b00364a3100b7effb3e2a1cca0624277d3e40da1bdb07bb46b6a8cef)
0 commit comments