mahadewa commited on
Commit
c08e15d
·
verified ·
1 Parent(s): 4f36157

Update router.py

Browse files
Files changed (1) hide show
  1. router.py +1 -10
router.py CHANGED
@@ -50,16 +50,7 @@ class RouterAgent(BaseAgent):
50
 
51
  # Use LLM to decide which agent should handle this question
52
  agent_type = self._llm_decide_agent(question, context)
53
-
54
- # Log the decision for debugging
55
- print(f"LLM decided to use agent: {agent_type}")
56
- if task_id:
57
- self.save_debug_info(task_id, {
58
- "question": question,
59
- "llm_decision": agent_type,
60
- "context_hints": context
61
- })
62
-
63
  # Delegate to the selected specialized agent
64
  if agent_type in self.agents:
65
  return self.agents[agent_type](question, task_id, **kwargs)
 
50
 
51
  # Use LLM to decide which agent should handle this question
52
  agent_type = self._llm_decide_agent(question, context)
53
+
 
 
 
 
 
 
 
 
 
54
  # Delegate to the selected specialized agent
55
  if agent_type in self.agents:
56
  return self.agents[agent_type](question, task_id, **kwargs)