[aidan] feat/mcp-suggestions: suggest both Google and Microsoft when provider is ambiguous

This commit is contained in:
abccodes
2026-06-18 23:30:43 -07:00
parent d401e11ebe
commit 2ec2ef94f8
@@ -175,6 +175,11 @@ async def _call_classifier(settings, prompt: str, available: list[CuratedEntry],
"below) whose connection would dramatically improve the outcome. "
"Only include a service if the request clearly implies it. If no "
"service clearly fits, return an empty array. Never invent ids.\n"
" Google Workspace and Microsoft 365 overlap (email, calendar, "
"docs/drive). When the request implies one of these capabilities but "
"does NOT name the provider (e.g. \"email\" without saying Gmail/"
"Outlook or Google/Microsoft), suggest BOTH so the user picks. If the "
"provider is named or implied, suggest only that one.\n"
"- reason: one short sentence (<20 words) explaining WHY this "
"service fits this request.\n\n"
"Return ONLY the JSON. No prose, no markdown fences, no explanation."