Skip to content

Commit

Permalink
fix: classifier shouldn't select custom agents
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandan committed Feb 14, 2025
1 parent 6ef6125 commit c415165
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,12 @@ async def initialize(self, user_id: str):
- Overlapping domains, choose more specialized: `choose_higher_expertise_agent|0.80`
"""

# We'll only use system agents in classifier
system_agents = [
agent for agent in self.available_agents if agent.status == "SYSTEM"
]
self.agent_descriptions = "\n".join(
[f"- {agent.id}: {agent.description}" for agent in self.available_agents]
[f"- {agent.id}: {agent.description}" for agent in system_agents]
)

class State(TypedDict):
Expand Down

0 comments on commit c415165

Please sign in to comment.