Skip to content

Commit bb39b17

Browse files
committed
black
1 parent a16aea0 commit bb39b17

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/agentlab/analyze/agent_xray.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,7 @@ def update_error_report():
936936
report_files = sorted(report_files, key=os.path.getctime, reverse=True)
937937
return report_files[0].read_text()
938938

939+
939940
def new_exp_dir(exp_dir, progress=gr.Progress(), just_refresh=False):
940941

941942
if exp_dir == select_dir_instructions:
@@ -962,7 +963,14 @@ def new_exp_dir(exp_dir, progress=gr.Progress(), just_refresh=False):
962963
agent_id = info.get_agent_id(agent_report.iloc[0])
963964

964965
constants, variables = format_constant_and_variables()
965-
return agent_report, agent_id, constants, variables, update_global_stats(), update_error_report()
966+
return (
967+
agent_report,
968+
agent_id,
969+
constants,
970+
variables,
971+
update_global_stats(),
972+
update_error_report(),
973+
)
966974

967975

968976
def new_agent_id(agent_id: list[tuple]):

0 commit comments

Comments
 (0)