Skip to content

Commit 5883858

Browse files
committed
clean up planner agent and group chat manager
1 parent 5bc0461 commit 5883858

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

src/backend/kernel_agents/agent_factory.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class AgentFactory:
4141
AgentType.TECH_SUPPORT: TechSupportAgent,
4242
AgentType.GENERIC: GenericAgent,
4343
AgentType.HUMAN: HumanAgent,
44-
AgentType.GROUP_CHAT_MANAGER: GroupChatManager,
4544
}
4645

4746
# Mapping of agent types to their string identifiers (for automatic tool loading)
@@ -53,7 +52,6 @@ class AgentFactory:
5352
AgentType.TECH_SUPPORT: "tech_support",
5453
AgentType.GENERIC: "generic",
5554
AgentType.HUMAN: "human",
56-
AgentType.GROUP_CHAT_MANAGER: "group_chat_manager",
5755
}
5856

5957
# System messages for each agent type
@@ -65,7 +63,6 @@ class AgentFactory:
6563
AgentType.TECH_SUPPORT: "You are a technical support expert helping with technical issues.",
6664
AgentType.GENERIC: "You are a helpful assistant ready to help with various tasks.",
6765
AgentType.HUMAN: "You are representing a human user in the conversation.",
68-
AgentType.GROUP_CHAT_MANAGER: "You are a group chat manager coordinating the conversation between different agents.",
6966
}
7067

7168
# Cache of agent instances by session_id and agent_type

src/backend/kernel_agents/group_chat_manager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def __init__(
4141
session_id: str,
4242
user_id: str,
4343
memory_store: CosmosMemoryContext,
44-
config_path: Optional[str] = None,
4544
available_agents: Optional[Dict[str, Any]] = None,
4645
) -> None:
4746
"""Initialize the Group Chat Manager.
@@ -58,7 +57,6 @@ def __init__(
5857
self._session_id = session_id
5958
self._user_id = user_id
6059
self._memory_store = memory_store
61-
self._config_path = config_path
6260

6361
# Store available agents
6462
self._agent_instances = available_agents or {}

src/backend/utils_kernel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ async def get_agents(session_id: str, user_id: str) -> Dict[str, Any]:
8181
AgentType.TECH_SUPPORT: "TechSupportAgent",
8282
AgentType.GENERIC: "GenericAgent",
8383
AgentType.HUMAN: "HumanAgent",
84-
AgentType.PLANNER: "PlannerAgent",
85-
AgentType.GROUP_CHAT_MANAGER: "GroupChatManager",
8684
}
8785

8886
# Convert to the agent name dictionary format used by the rest of the app

0 commit comments

Comments
 (0)