File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646from astrbot .core .star .context import Context
4747from astrbot .core .star .star import star_registry
4848from astrbot .core .star .star_handler import star_map
49+ from astrbot .core .subagent_manager import SubAgentManager
4950from astrbot .core .subagent_orchestrator import SubAgentOrchestrator
5051from astrbot .core .tools .computer_tools import (
5152 AnnotateExecutionTool ,
@@ -1012,7 +1013,7 @@ async def _apply_subagent_manager_tools(
10121013 req .func_tool = ToolSet ()
10131014
10141015 try :
1015- from astrbot .core .subagent_manager import (
1016+ from astrbot .core .subagent_tools import (
10161017 CREATE_SUBAGENT_TOOL ,
10171018 LIST_SUBAGENTS_TOOL ,
10181019 PROTECT_SUBAGENT_TOOL ,
@@ -1022,7 +1023,6 @@ async def _apply_subagent_manager_tools(
10221023 UNPROTECT_SUBAGENT_TOOL ,
10231024 VIEW_SHARED_CONTEXT_TOOL ,
10241025 WAIT_FOR_SUBAGENT_TOOL ,
1025- SubAgentManager ,
10261026 )
10271027
10281028 # Configure SubAgentManager with settings from subagent_orchestrator
You can’t perform that action at this time.
0 commit comments