-
Notifications
You must be signed in to change notification settings - Fork 136
feat: Add audio type according to 2025-03-26 spec #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add audio type according to 2025-03-26 spec #68
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types.kt:886
- The documentation for PromptMessageContentMultimodal should be updated to reflect that it now supports audio content in addition to text and image.
* Represents prompt message content that is either text or an image.
src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types.kt:932
- AudioContent is a new functionality that currently lacks test coverage; please add appropriate tests to verify its behavior.
* Audio provided to or from an LLM.
@e5l I missed updating the documentation let me make the change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a test?
Hi @e5l, I will look into it |
Hi @e5l, have added a unit test for this PR. Im planning to add more unit tests in a separate PR |
Hi @e5l , please help to approve and merge this |
Sure, could you please rebase on main? there is a conflict |
@e5l sure let me do that now |
@e5l i have rebased onto main |
Motivation and Context
This PR provides added support for audio data
How Has This Been Tested?
NA
Breaking Changes
NA
Types of changes
Checklist
Additional context
References: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-03-26/schema.ts#L990