Skip to content

🧪 Auto-PR: Merge develop → test - #1014

Merged
proxy-smart-releaser[bot] merged 3 commits into
testfrom
develop
Aug 13, 2026
Merged

🧪 Auto-PR: Merge develop → test#1014
proxy-smart-releaser[bot] merged 3 commits into
testfrom
develop

Conversation

@proxy-smart-releaser

Copy link
Copy Markdown
Contributor

Automated Pull Request 🤖

Commits ahead of test: 2
Commits behind test: 0
TODOs remaining in codebase: 3

quotentiroler and others added 3 commits August 13, 2026 18:10
TOON encodes `{}` as the empty string, so shortest-wins picked it over `{}` and
the tool result went out with content[{type:'text',text:''}]. Clients reject that
outright — the beta MCP endpoint answers such a call with

  Anthropic Proxy: Invalid content from server

which reads as a transport fault rather than "this endpoint returned no data",
and there is nothing in the error naming the tool or the payload.

chooseToolText now only takes the shorter encoding while something is left to
read, and successResult renders a bodyless success (204, empty handler return)
as "(no content)" instead of an empty block. structuredContent is untouched: it
is still derived from the original JSON.

Found while reading beta through the MCP to confirm the dicom-viewer client's
webOrigins. Any admin GET that legitimately returns {} hits this.
@proxy-smart-releaser
proxy-smart-releaser Bot merged commit 85fd3c7 into test Aug 13, 2026
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.

1 participant