embabel-agent icon indicating copy to clipboard operation
embabel-agent copied to clipboard

a2a java client not working with Embabel streaming mode

Open abadongutierrez opened this issue 1 year ago • 7 comments

I was playing with the a2a-client the java version https://github.com/a2aproject/a2a-java/tree/main and when trying to send a message using streaming it didnt work.

Looking deeply into the a2a java client, it is expecting json rpc messages all the time

abadongutierrez avatar Aug 10 '25 05:08 abadongutierrez

Created PR as a proposal to fix this: https://github.com/embabel/embabel-agent/pull/689

abadongutierrez avatar Aug 11 '25 15:08 abadongutierrez

Tested also using the a2a-inspector https://github.com/a2aproject/a2a-inspector and returning a message is not following the protocol so changed that as well in the PR https://github.com/embabel/embabel-agent/pull/689 :

Image

after the change:

Image

abadongutierrez avatar Aug 12 '25 03:08 abadongutierrez

Hi @abadongutierrez,

We are extracting the a2a package into the new embabel-agent-a2a module. I’ve created a draft PR for this: #754. This change might have side effects on your work, so please take a look and let me know if there’s anything we should coordinate.

Thanks!

hadirsa avatar Aug 26 '25 20:08 hadirsa

@hadirsa I think it is ok, I say continue with the extraction and once you finish and can find a way to reapply my changes and create a new PR

abadongutierrez avatar Aug 27 '25 01:08 abadongutierrez

@abadongutierrez Sounds good, thanks 👌

hadirsa avatar Aug 27 '25 11:08 hadirsa

@abadongutierrez is it still the case? or this issue is solved with latest streaming updates.

alexheifetz avatar Dec 03 '25 21:12 alexheifetz

Should be fixed in 0.3.1

alexheifetz avatar Dec 20 '25 02:12 alexheifetz