Skip to content

Commit 012baf5

Browse files
committed
Fixed bug in per-question workflow setup
1 parent a99844b commit 012baf5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎app/math_tutor.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def process_input(self, submission: str, exemplary_solution: str, temperature: f
6060
workflow_path = exemplary_solution_data["workflow"]
6161
# complete path to absolute path
6262
workflow_full_path = os.path.join(os.path.dirname(self.config_path), workflow_path)
63-
print(f"Loading workflow from: {workflow_path}")
64-
with open(workflow_path, 'r') as f:
63+
print(f"Loading workflow from: {workflow_full_path}")
64+
with open(workflow_full_path, 'r') as f:
6565
workflow_config = json.load(f)
6666
workflow_override = workflow_config.get('directives')
6767

0 commit comments

Comments
 (0)