Repository navigation
fix(core): bound oversized images returned by MCP tools #10835
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
Merged
yiliang114
merged 30 commits into
QwenLM:main
from
yiliang114:fix/mcp-image-context-budget
Sep 23, 2026
Merged
Changes from 11 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a6b22ca
fix(core): bound oversized images returned by MCP tools
yiliang114 c9937ac
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 39789a8
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 b9b6e5e
Merge branch 'main' into fix/mcp-image-context-budget
wenshao 55c8b4e
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 c8e0c82
fix(core): load the image renderer before file-level checks
yiliang114 c94b650
Merge remote-tracking branch 'origin/main' into fix/mcp-image-context…
yiliang114 2d4f73e
Merge remote-tracking branch 'origin/main' into fix/mcp-image-context…
yiliang114 444b6d3
Merge remote-tracking branch 'origin/main' into fix/mcp-image-context…
yiliang114 2d6a95c
Merge remote-tracking branch 'origin/main' into fix/mcp-image-context…
yiliang114 6b68d25
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 c2b49c7
fix(core): serialize MCP image bounding
yiliang114 c96b968
fix(core): guard oversized MCP image payloads
yiliang114 483d40b
Merge remote-tracking branch 'origin/main' into HEAD
yiliang114 7ffeb8e
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 831e50f
fix(core): address MCP image bounding review findings
yiliang114 39239af
fix(core): bound untyped resource images and all inline media from MC…
yiliang114 2fcd6b6
fix(core): keep non-image MCP media out of the inline-limit clamp
yiliang114 3e83986
test(core): pin the image-only inline-media boundary
yiliang114 e9dc124
Merge origin/main into fix/mcp-image-context-budget
yiliang114 34c379a
Merge origin/main into fix/mcp-image-context-budget
yiliang114 b307d15
fix(core): skip MCP image bounding when omni delivery owns the media
yiliang114 fee8cdf
fix(core): bound images the omni funnel keeps inline
yiliang114 78f1324
test(core): pin the omni gate predicate against isOmniEnabled drift
yiliang114 bc57a24
fix(core): bound MCP images by the inline byte ceiling, drop the omni…
yiliang114 37e0b9e
Merge remote-tracking branch 'origin/main' into fix/mcp-image-context…
yiliang114 636d410
Merge branch 'main' into fix/mcp-image-context-budget
yiliang114 c01b82b
fix(core): exempt MCP image withholding clamps under omni delivery
yiliang114 6ad43c9
fix(core): bound the MCP images the omni funnel declines to upload
yiliang114 75fcc4e
refactor(core): trim MCP image bounding to its core
yiliang114 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.