Skip to content

fix: serialize IncludeContext with MCP values#415

Open
juliuss007 wants to merge 1 commit into
CortexLM:mainfrom
juliuss007:codex/fix-include-context-52972
Open

fix: serialize IncludeContext with MCP values#415
juliuss007 wants to merge 1 commit into
CortexLM:mainfrom
juliuss007:codex/fix-include-context-52972

Conversation

@juliuss007
Copy link
Copy Markdown

Summary

  • serialize IncludeContext::ThisServer and IncludeContext::AllServers as MCP-compatible camelCase values
  • keep IncludeContext::None as none
  • add regression coverage for serialization and deserialization of the MCP values

Fixes PlatformNetwork/bounty-challenge#52972

Verification

  • cargo +1.91.1 test -p cortex-mcp-types include_context_uses_mcp_camel_case_values
  • cargo +1.91.1 check -p cortex-mcp-types
  • git diff --check HEAD^ HEAD
  • cargo +1.91.1 fmt --package cortex-mcp-types --check

Bounty claim: PlatformNetwork/bounty-challenge#52972

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.

[BUG] [alpha] cortex-mcp-types: IncludeContext serializes thisServer/allServers as lowercase — breaks MCP sampling

1 participant