Skip to content

[Bug]: mediaType in TextPart and DataPart #1291

Closed

Description

@yuyu123-yuyu

What happened?

Hi!
According to the A2A spec 4.1.6. Part, the mediaType field should be available for all part types. But currently it seems it is not supported for TextPart and DataPart. It is omitted during proto serialization, and cannot be sent to the client.

Could you please change it so that is is available to all Part types?
Thanks!

Relevant log output

Code of Conduct

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

Activity

  1. added theissue type on Nov 5, 2026
  2. self-assigned this
    on Nov 5, 2026
  3. added a commit that references this issue on Nov 10, 2026
    b010fae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions