Skip to content

fix: preserve media types on text and data parts - #1295

Open
kabir wants to merge 1 commit into
a2aproject:mainfrom
kabir:fix/1291-part-media-type
Open

kabir wants to merge 1 commit into
a2aproject:mainfrom
kabir:fix/1291-part-media-type

Conversation

@kabir

@kabir kabir commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Description

Text and data parts lose their media type when converted through the SDK. Preserve the optional mediaType in the part model and in JSON and protobuf conversions, while retaining existing constructors.

  • Follow the contributing guide.
  • Use a Conventional Commits PR title.
  • Ensure the tests pass.
  • Update READMEs if necessary.

Tests: mvn clean install

Fixes #1291

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: mediaType in TextPart and DataPart

1 participant