• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 23487529081

24 Mar 2026 11:39AM UTC coverage: 64.872% (-0.1%) from 64.996%
23487529081

push

github

web-flow
Preserve prompt message structure through vMCP relay (#4334)

The vMCP prompt relay flattened all backend messages into a single
string with "[role] text\n" format, discarding non-text content and
individual message roles. The handler then wrapped this flat string
as a single "assistant" message, losing the original conversation
structure.

Replace the lossy ConvertPromptMessages with structured
ConvertMCPPromptMessages/ToMCPPromptMessages that preserve individual
messages with their original roles and full content types (text, image,
audio, embedded resource, resource link). This removes the documented
"Phase 1 limitation" for prompt message handling.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

19 of 22 new or added lines in 4 files covered. (86.36%)

122 existing lines in 11 files now uncovered.

50823 of 78343 relevant lines covered (64.87%)

159.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.79
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc