Feat : basic web search for casual agent

This commit is contained in:
martin legrand
2025-03-02 18:08:58 +01:00
parent 9a281c364a
commit c2c1c7f09f
8 changed files with 131 additions and 47 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class AgentRouter:
result = self.classify_text(text)
for agent in self.agents:
if result["labels"][0] == agent.role:
pretty_print(f"Selected agent role: {agent.role}", color="warning")
pretty_print(f"Selected agent: {agent.agent_name}", color="warning")
return agent
return None