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
{{ message }}
Repository navigation
[Feat]: I want to use a java.io.File with FileWithBytes #703
Is your feature request related to a problem? Please describe.
io.a2a.spec.FileWithBytes requires the user to pass String bytes to the constructor which is a base64-encoded representation of the file content.
Describe the solution you'd like
We could add an additional constructor that would take a java.io.File instead of String name, String bytes and perform the base64 encoding.
That would provide a better UX for the users.
Activity
jmesnil commentedon Mar 5, 2026
Duplicates #702 :)