Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ class BasicAgent:
51
 
52
  def __call__(self, question: str) -> str:
53
  print(f"Agent received question (first 50 chars): {question[:50]}...")
54
- final_answer = self.model.generate_answer(question)
55
  print(f"Agent returning fixed answer: {final_answer}")
56
  return final_answer
57
 
 
51
 
52
  def __call__(self, question: str) -> str:
53
  print(f"Agent received question (first 50 chars): {question[:50]}...")
54
+ final_answer = self.agent.run(question)
55
  print(f"Agent returning fixed answer: {final_answer}")
56
  return final_answer
57