Skip to content

Commit f90f4cd

Browse files
committed
Fix problem with loading workflow paths
1 parent 012baf5 commit f90f4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/math_tutor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def process_input(self, submission: str, exemplary_solution: str, temperature: f
5959
if "workflow" in exemplary_solution_data:
6060
workflow_path = exemplary_solution_data["workflow"]
6161
# complete path to absolute path
62-
workflow_full_path = os.path.join(os.path.dirname(self.config_path), workflow_path)
62+
workflow_full_path = workflow_path
6363
print(f"Loading workflow from: {workflow_full_path}")
6464
with open(workflow_full_path, 'r') as f:
6565
workflow_config = json.load(f)

0 commit comments

Comments
 (0)