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
All enum values have been renamed from snake_case strings to `SCREAMING_SNAKE_CASE`.
@@ -110,7 +109,7 @@ The `AgentCard` has been significantly restructured to support multiple transpor
110
109
111
110
Key differences:
112
111
-`url` is gone; use `supported_interfaces` with one or more `AgentInterface` entries
113
-
-`AgentCapabilities.input_modes` and `AgentCapabilities.output_modes` are removed from `AgentCapabilities`; use `AgentCard.default_input_modes` / `AgentCard.default_output_modes` for card-level defaults, or `AgentSkill.input_modes` / `AgentSkill.output_modes` for per-skill overrides
112
+
-`AgentCapabilities.input_modes` and `AgentCapabilities.output_modes` are removed; use `AgentCard.default_input_modes` / `AgentCard.default_output_modes` for card-level defaults, or `AgentSkill.input_modes` / `AgentSkill.output_modes` for per-skill overrides
114
113
-`supports_authenticated_extended_card` is no longer a top-level `AgentCard` field; it has moved into `AgentCapabilities` and is renamed to `extended_agent_card`
-`MessageSendParams` wrapper is gone; `message` is a field directly on `SendMessageRequest`
336
335
-`send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
337
-
- Each `StreamResponse` has a `payload`oneof — use `HasField()` to check which field is set (`'task'`, `'message'`, `'status_update'`, `'artifact_update'`)
336
+
- Each `StreamResponse` has a `payload` which is one of: `'task'`, `'message'`, `'status_update'`, `'artifact_update'`. Use `HasField()` to check which field is set.
338
337
- Agent outputs should now be published as **Artifacts**, not status message text
339
338
340
339
> **Example**: [`helloworld/test_client.py` in PR #474](https://github.com/a2aproject/a2a-samples/pull/474/files#diff-f62c07d3b00364a3100b7effb3e2a1cca0624277d3e40da1bdb07bb46b6a8cef)
0 commit comments