petrov826 commited on
Commit
2c5b49a
·
verified ·
1 Parent(s): f0cfbf0

fix variable name

Browse files
Files changed (1) hide show
  1. basic_agent.py +3 -3
basic_agent.py CHANGED
@@ -16,6 +16,6 @@ class BasicAgent:
16
  )
17
 
18
  def __call__(self, question: str) -> str:
19
- fixed_answer = self.agent.run(task=question)
20
- print(f"Agent returning fixed answer: {fixed_answer}")
21
- return fixed_answer
 
16
  )
17
 
18
  def __call__(self, question: str) -> str:
19
+ final_answer = self.agent.run(task=question)
20
+ print(f"Agent returning final answer: {final_answer}")
21
+ return final_answer