Add connector routing constants for delegated routes.

This commit is contained in:
CREDO23 2026-05-01 20:30:20 +02:00
parent 5d3b8b9ca9
commit 30cd530ac6
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1 @@
"""Deepagents-backed multi-agent routes (subagents under ``subagents/``)."""

View file

@ -0,0 +1,18 @@
"""Map connector type strings to the agent route key used for tools and MCP slices."""
from __future__ import annotations
CONNECTOR_TYPE_TO_CONNECTOR_AGENT_MAPS: dict[str, str] = {
"GOOGLE_GMAIL_CONNECTOR": "gmail",
"COMPOSIO_GMAIL_CONNECTOR": "gmail",
"GOOGLE_CALENDAR_CONNECTOR": "calendar",
"COMPOSIO_GOOGLE_CALENDAR_CONNECTOR": "calendar",
"DISCORD_CONNECTOR": "discord",
"TEAMS_CONNECTOR": "teams",
"LUMA_CONNECTOR": "luma",
"LINEAR_CONNECTOR": "linear",
"JIRA_CONNECTOR": "jira",
"CLICKUP_CONNECTOR": "clickup",
"SLACK_CONNECTOR": "slack",
"AIRTABLE_CONNECTOR": "airtable",
}