Skip to content

Conversation

@LLiuZheng
Copy link
Contributor

@LLiuZheng LLiuZheng commented Nov 14, 2025

Note

Replaces the Gmail-only test with a multi-service Klavis MCP dataset (Gmail, Notion, Outlook), updates the MCP auth env var, and points the pytest to the new dataset.

  • Tests:
    • Add tests/pytest/datasets/klavis_mcp_test.jsonl with prompts/ground truths for Gmail, Notion, and Outlook Calendar.
    • Remove tests/pytest/datasets/gmail_inbox.jsonl.
    • Update tests/pytest/test_pytest_klavis_mcp.py to use klavis_mcp_test.jsonl (adds brief Notion setup note).
  • Config:
    • Change tests/pytest/mcp_configurations/klavis_strata_mcp.json authorization from Bearer ${KLAVIS_API_KEY} to Bearer ${KLAVIS_AUTH_TOKEN}.

Written by Cursor Bugbot for commit 78dbd75. This will update automatically on new commits. Configure here.

@@ -0,0 +1,2 @@
{"messages": [ { "role": "system", "content": "You are a helpful assistant that can answer questions about Gmail. You have access to tools to help you find information." }, { "role": "user", "content": "Fetch the first 5 emails in my gmail inbox and get the sender. Output the sender only." } ], "ground_truth": "The response contains 5 email addresses." }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Judging Descriptions, Not Content

The Gmail test's ground truth is a meta-description ("The response contains 5 email addresses.") rather than actual expected content. The LLM judge checks if the output literally contains this string, not whether the output actually has 5 email addresses. This differs from the Notion test which uses actual expected content ("Pizzeria Badiali") and will cause the Gmail test to fail even with correct outputs.

Fix in Cursor Fix in Web

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.

1 participant