bstraehle commited on
Commit
7988b10
·
verified ·
1 Parent(s): 615dca2

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -3
agent.py CHANGED
@@ -30,9 +30,7 @@ def run_agent(level, question, file_name):
30
 
31
  answer = agent.run(question)
32
 
33
- final_answer = get_final_answer(question, answer)
34
-
35
- return final_answer, str(final_answer == ground_truth)
36
 
37
  def get_final_answer(question, answer):
38
  client = OpenAI()
 
30
 
31
  answer = agent.run(question)
32
 
33
+ return get_final_answer(question, answer)
 
 
34
 
35
  def get_final_answer(question, answer):
36
  client = OpenAI()