Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feat]: Add additional methods for creating and handling messages to A2A.java #302

Copy link
Copy link
@fjuma

Description

@fjuma
Issue body actions

The A2A.java class contains some method for creating user and agent messages.

There are additional things that can be configured when creating messages like contextId, taskId, parts, etc.

Take a look at the utility methods for handling Messages from a2a-python and then update/add similar functionality to A2A.java:
https://github.com/a2aproject/a2a-python/blob/main/src/a2a/utils/message.py

Appropriate test cases should be added too. Use the Python tests as a guide:

https://github.com/a2aproject/a2a-python/blob/main/tests/utils/test_message.py

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.