Commit
·
2d686ae
1
Parent(s):
353c774
pass the cfg.desc_file to open
Browse files- aide/utils/config.py +1 -1
aide/utils/config.py
CHANGED
|
@@ -151,7 +151,7 @@ def load_task_desc(cfg: Config):
|
|
| 151 |
"Ignoring goal and eval args because task description file is provided."
|
| 152 |
)
|
| 153 |
|
| 154 |
-
with open() as f:
|
| 155 |
return f.read()
|
| 156 |
|
| 157 |
# or generate it from the goal and eval args
|
|
|
|
| 151 |
"Ignoring goal and eval args because task description file is provided."
|
| 152 |
)
|
| 153 |
|
| 154 |
+
with open(cfg.desc_file) as f:
|
| 155 |
return f.read()
|
| 156 |
|
| 157 |
# or generate it from the goal and eval args
|