Skip to content

Return completed MCP results as one text block for Gemini - #646

Merged
kvz merged 1 commit into
mainfrom
mcp-single-block
Nov 5, 2026
Merged

kvz merged 1 commit into
mainfrom
mcp-single-block

Conversation

@kvz

@kvz kvz commented Nov 5, 2026

Copy link
Copy Markdown
Member

Why: Since 0.8.4 (#642), completed Assembly results come back as two text blocks: the JSON and a "Result files:" list. In Gemini, on production (2026-11-05), the Video covers call that returned a running Assembly (one block) worked, but every follow-up call that returned the completed Assembly (Wait for Assembly completion, Get Assembly status) ended in "I encountered an error doing what you asked". The Assembly itself completed with 8 covers. With 0.8.2 (one block) the same prompt completed fine in Gemini. The two-block shape is the only change on that path, so this returns to one block.

What: The links list is appended to the JSON text in the same block, after a blank line. The 20-file cap, signed URL preference and structuredContent/widget behavior are unchanged. Tests now require exactly one text block.

I will verify in Gemini after release; if it still fails, the cause is elsewhere and this change is harmless.

🤖 Claimed by kvz on framework1/node-sdk since 2026-11-05 · resume: claude --resume 26eaa88e-b3fa-4cc1-bcce-0c7ff5b6bab7

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@kvz
kvz merged commit 18946ff into main Nov 5, 2026
17 checks passed
@kvz
kvz deleted the mcp-single-block branch November 5, 2026 16:28
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