Skip to content

Commit

Permalink
fix display bug in webapp (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
XianBW authored Oct 18, 2024
1 parent 24aec11 commit c3fa245
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rdagent/log/ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ def research_window():
# loaded model exp
with c2:
if mem := state.msgs[round]["d.load_experiment"]:
# 'load_experiment' should in 'r' now, but old version trace may in 'd', so we need to check both
# TODO: modify the way to get one message with a specific tag like 'load_experiment' in the future
me: QlibModelExperiment = mem[0].content
tasks_window(me.sub_tasks)
elif mem := state.msgs[round]["r.load_experiment"]:
me: QlibModelExperiment = mem[0].content
tasks_window(me.sub_tasks)

Expand Down

0 comments on commit c3fa245

Please sign in to comment.