Python: preserve multimodal messages in AG-UI chat client requests - #8116
Merged
Evan Mattson (moonbox3) merged 8 commits intoSep 9, 2026
Merged
Conversation
CoralGarden52
requested review from
chetantoshniwal,
Eduard van Valkenburg (eavanvalkenburg),
Giles Odigwe (giles17) and
Evan Mattson (moonbox3)
as code owners
September 7, 2026 09:13
Contributor
Author
|
@microsoft-github-policy-service agree |
Contributor
|
One file conflict, too. |
CoralGarden52
force-pushed
the
fix/ag-ui-multimodal-input-8114
branch
from
September 8, 2026 08:14
884cfd2 to
e562c95
Compare
CoralGarden52
requested review from
Tao Chen (TaoChenOSU) and
Jose Alvarez (jpalvarezl)
as code owners
September 8, 2026 08:14
Contributor
Author
|
Thanks for the heads-up, Evan Mattson (@moonbox3). I rebased the branch onto the current upstream main and resolved the conflict. The PR should now be conflict-free. |
Contributor
|
CoralGarden52 please fix the failing code quality checks. thanks. |
Contributor
Author
|
Evan Mattson (@moonbox3) Thanks for pointing this out. I fixed the failing code quality check and pushed a follow-up commit. The AG-UI test suite and all package-scoped typing checks pass locally. Please let me know if CI reports any further issues. |
Evan Mattson (moonbox3)
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AGUIChatClientserializes user messages for AG-UI.InputContentsource fields (source.type,source.value, andmimeType) with MIME-aware image/audio/video/document part types.httpx.MockTransportrequest JSON regression test.Validation
PYTHONPATH="$PWD/python/packages/core:$PWD/python/packages/ag-ui:$PWD/python/packages/orchestrations" /home/nyc/agent-framework/python/.venv/bin/pytest python/packages/ag-ui/tests/ag_ui -q— 1100 passed, 1 skipped.uvx --from ruff==0.16.4 ruff check ...— passed.uvx --from ruff==0.16.4 ruff format --check ...— 3 files already formatted.ag_ui.core.UserMessage; the captured HTTP JSON contains the ordered URL and data parts.Related issue
Fixes #8114
This is the outbound Agent Framework-to-AG-UI conversion path. It is distinct from #8083, which addresses multimodal content during orchestrator handoff.