ofermend commited on
Commit
2ac27d0
·
1 Parent(s): ef023d4
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -49,7 +49,7 @@ class AgentTools:
49
  .replace("{language}", self.cfg.language) \
50
  .replace("{student_age}", str(self.cfg.student_age))
51
 
52
- rephrase_text = ToolsCatalog(self.cfg).rephrase_text
53
  return rephrase_text(text, instructions)
54
 
55
 
 
49
  .replace("{language}", self.cfg.language) \
50
  .replace("{student_age}", str(self.cfg.student_age))
51
 
52
+ rephrase_text = ToolsCatalog(self.agent_config).rephrase_text
53
  return rephrase_text(text, instructions)
54
 
55