marin-iuga commited on
Commit
e572948
·
verified ·
1 Parent(s): c9d0d89

Minor testing of agent functionality.

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -120,6 +120,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
120
  print(f"Error running agent on task {task_id}: {e}")
121
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": f"AGENT ERROR: {e}"})
122
 
 
 
123
  if not answers_payload:
124
  print("Agent did not produce any answers to submit.")
125
  return "Agent did not produce any answers to submit.", pd.DataFrame(results_log)
 
120
  print(f"Error running agent on task {task_id}: {e}")
121
  results_log.append({"Task ID": task_id, "Question": question_text, "Submitted Answer": f"AGENT ERROR: {e}"})
122
 
123
+ return
124
+
125
  if not answers_payload:
126
  print("Agent did not produce any answers to submit.")
127
  return "Agent did not produce any answers to submit.", pd.DataFrame(results_log)