Skip to content

[Bug]: there is no push notifications after every updates of task while sendMessage is called by the client #617

@zoujie-ee

Description

@zoujie-ee

What happened?

according to the A2A protocol version 1.0.0, section 3.5. Task Update Delivery Mechanisms: The A2A protocol provides three complementary mechanisms for clients to receive updates about task progress and completion. Push Notifications (WebHooks) is one of the mechanisms, it defines that Agent sends HTTP POST requests to client-registered endpoints when task state changes.
But at the code implements of A2A java, the notification is not send every updates of the task, there is the code at DefaultRequestHandler.java: line 506
// Send push notification after initial return (for both blocking and non-blocking)
pushNotificationCallback.run();
it only send push notification after initial return.
plz fix it

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions