Skip to content

Note when proxy_hints has too few dimensions to test (#1044) - #1073

Closed
sammist2 wants to merge 1 commit into
yakew7:mainfrom
sammist2:fix/1044-proxy-hints-nothing-tested-note
Closed

sammist2 wants to merge 1 commit into
yakew7:mainfrom
sammist2:fix/1044-proxy-hints-nothing-tested-note

Conversation

@sammist2

Copy link
Copy Markdown
Contributor

Fixes #1044.

The MCP proxy_hints tool compares pairs of dimensions, so a dataset with fewer than two testable dimensions has no pair to test and returns {"hints": []} with nothing to say whether it tested and found nothing or had nothing to test.

_proxy_hints_impl now adds a notes entry naming the testable dimensions and stating that at least two are needed, when the empty result is due to there being fewer than two. A dataset with a real pair to test is unaffected. Adds a regression test in tests/test_mcp_server.py.

proxy_hints compares pairs of dimensions, so a dataset with fewer than
two testable dimensions has no pair to test and returns {"hints": []}.
With no explanation an agent can read that as "tested, found nothing"
rather than "nothing could be tested."

_proxy_hints_impl now adds a 'notes' entry naming the testable
dimensions and stating that at least two are needed, when the empty
result is due to there being fewer than two. A dataset that does have a
pair to test is unaffected. Adds a regression test.
@vercel

vercel Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

@sammist2 is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

@yakew7 @ahmdkaml - new PR touching a path you own, please review.

@yakew7

yakew7 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

@sammist2 Fix merge Conflicts and CI Fails pls

@sammist2

Copy link
Copy Markdown
Contributor Author

Closing this — #1044 has since been resolved on main by the _no_hints_text helper, which also covers the "tested, none found" case, so this change is now redundant. Thanks!

@sammist2 sammist2 closed this Oct 20, 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.

The MCP proxy_hints tool returns just {"hints": []} for a dataset with one dimension, with no note that nothing was tested

2 participants