Confused on use of *a2a.Task over *a2a.Event on PushSender #178
-
|
I'm looking for clarity on the use of Lines 23 to 28 in 4f7471c From https://a2a-protocol.org/latest/topics/streaming-and-async/#protocol-specification-references
This specifies that payload should contains one of: task, message, statusUpdate, or artifactUpdate. The I think the following would make more sense Am I missing something here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
This does indeed appear to be out of line with the official a2a spec? I have experimented a bit with changing this from
Be equally interested to hear if this would be the correct route to go. |
Beta Was this translation helpful? Give feedback.
-
|
You're looking at the unreleased 1.0 spec (see latest in the URL). This is a common point of confusion unfortunately.
https://a2a-protocol.org/v0.3.0/specification/#95-push-notification-setup-and-usage |
Beta Was this translation helpful? Give feedback.




You're looking at the unreleased 1.0 spec (see latest in the URL). This is a common point of confusion unfortunately.
In 0.3 which the current SDK implements it is written:
https://a2a-protocol.org/v0.3.0/specification/#95-push-notification-setup-and-usage