fix(mcp): hide user directory metadata from responses (#39576)

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Richard Fogaca Nienkotter
2026-04-23 17:35:08 -03:00
committed by GitHub
parent acdf70176a
commit 0d50fd676b
27 changed files with 698 additions and 242 deletions

View File

@@ -220,6 +220,8 @@ class TestGenerateSizeReductionSuggestions:
token_limit=25000,
)
assert any("filter" in s.lower() for s in suggestions)
assert not any("owner" in s.lower() for s in suggestions)
assert any("non-user attributes" in s for s in suggestions)
def test_tool_specific_suggestions_execute_sql(self) -> None:
"""Should provide SQL-specific suggestions for execute_sql."""