mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-20 23:21:06 +02:00
feat(amazon): register amazon subagent
This commit is contained in:
parent
6888f0b8bb
commit
69848b4c71
2 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ CONNECTOR_TYPE_TO_CONNECTOR_AGENT_MAPS: dict[str, str] = {
|
|||
# connected app. Tokens are searchable-type strings (Composio Gmail/Calendar
|
||||
# map to the GOOGLE_* tokens in connector_searchable_types).
|
||||
SUBAGENT_TO_REQUIRED_CONNECTOR_MAP: dict[str, frozenset[str]] = {
|
||||
"amazon": frozenset(),
|
||||
"deliverables": frozenset(),
|
||||
"knowledge_base": frozenset(),
|
||||
"web_crawler": frozenset(),
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ from langchain_core.tools import BaseTool
|
|||
from app.agents.chat.multi_agent_chat.constants import (
|
||||
SUBAGENT_TO_REQUIRED_CONNECTOR_MAP,
|
||||
)
|
||||
from app.agents.chat.multi_agent_chat.subagents.builtins.amazon.agent import (
|
||||
build_subagent as build_amazon_subagent,
|
||||
)
|
||||
from app.agents.chat.multi_agent_chat.subagents.builtins.deliverables.agent import (
|
||||
build_subagent as build_deliverables_subagent,
|
||||
)
|
||||
|
|
@ -80,6 +83,7 @@ class SubagentBuilder(Protocol):
|
|||
|
||||
|
||||
SUBAGENT_BUILDERS_BY_NAME: dict[str, SubagentBuilder] = {
|
||||
"amazon": build_amazon_subagent,
|
||||
"deliverables": build_deliverables_subagent,
|
||||
"dropbox": build_dropbox_subagent,
|
||||
"google_drive": build_google_drive_subagent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue