wt002 commited on
Commit
608fcab
·
verified ·
1 Parent(s): 5b95622

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ class BasicAgent:
30
 
31
  def __call__(self, question: str) -> str:
32
  print(f"Agent received question (first 50 chars): {question[:50]}...")
33
- fixed_answer = self.agent.generate({question})
34
  print(f"Agent returning fixed answer: {fixed_answer}")
35
  return fixed_answer
36
 
 
30
 
31
  def __call__(self, question: str) -> str:
32
  print(f"Agent received question (first 50 chars): {question[:50]}...")
33
+ fixed_answer = self.agent.answer_question({question})
34
  print(f"Agent returning fixed answer: {fixed_answer}")
35
  return fixed_answer
36