Skip to content

fix(mcp): correct hypothesizer argument mapping in MCP wrapper#78

Closed
DavidJBianco wants to merge 1 commit into
mainfrom
codex/fix-mcp-hypothesizer-argument-order
Closed

fix(mcp): correct hypothesizer argument mapping in MCP wrapper#78
DavidJBianco wants to merge 1 commit into
mainfrom
codex/fix-mcp-hypothesizer-argument-order

Conversation

@DavidJBianco

Copy link
Copy Markdown
Collaborator

Motivation

  • The MCP peak-hypothesizer tool passed positional arguments to async_hypothesizer in the wrong order, which swapped local_context and local data inputs and produced incorrect hypotheses.

Description

  • Updated peak_assistant/peak_mcp/__main__.py to call async_hypothesizer with explicit keyword arguments mapping local_data_search_results to local_data_document and local_context to local_context, preserving the original MCP tool signature.

Testing

  • Ran python -m py_compile peak_assistant/peak_mcp/__main__.py and it completed successfully.

Codex Task

@DavidJBianco

Copy link
Copy Markdown
Collaborator Author

Merged into dev via #84 (batch-a-quick-fixes, commit a0938f3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant